[Buildroot] [PATCH 1/2] package infra: add mirror support

Arnout Vandecappelle arnout at mind.be
Tue Oct 18 21:38:59 UTC 2011


On Tuesday 18 October 2011 20:01:14, Gustavo Zacarias wrote:
> On 18.10.2011 14:27, Thomas Petazzoni wrote:
> 
> > Le Tue, 18 Oct 2011 13:00:28 -0300,
> > Gustavo Zacarias <gustavo at zacarias.com.ar> a écrit :
> >
> >> Also contemplating how to properly do PKG_SIZE (for file size) and
> >> PKG_HASH (MD5 and/or SHA1) for source consistency.
> >
> > Do we actually want that ? I know OE does this, but tarball size and
> > hashes will be a pain to keep updated.
> >
> > Thomas
> 
> In a non-mandatory way it may be desirable.
> That is if a package doesn't define it then we don't care.
> Most of the time tarballs shouldn't change size & hash, though it 
> doesn't hold true for every project around.

 Size and hash should only change when you bump the version, and in that case you anyway download the new tar file for testing so it shouldn't be too hard to recompute the hash.  And of course, the hash should be the same regardless of which mirror it is downloaded from...

 I'm not sure what good size would do, however.

> It could also be an option to completely disable it.

 Definitely!

 Regards,
 Arnout
-- 
Arnout Vandecappelle                               arnout at mind be
Senior Embedded Software Architect                 +32-16-286540
Essensium/Mind                                     http://www.mind.be
G.Geenslaan 9, 3001 Leuven, Belgium                BE 872 984 063 RPR Leuven
LinkedIn profile: http://www.linkedin.com/in/arnoutvandecappelle
GPG fingerprint:  31BB CF53 8660 6F88 345D  54CC A836 5879 20D7 CF43


More information about the buildroot mailing list