[Buildroot] Adding hashes to package recipes

Thomas Petazzoni thomas.petazzoni at free-electrons.com
Wed Oct 19 08:11:35 UTC 2011


Le Tue, 18 Oct 2011 23:38:59 +0200,
Arnout Vandecappelle <arnout at mind.be> a écrit :

>  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...

True, but what does it bring exactly ?

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

Well, the check at runtime can be disabled, but the fact that there
will be hashes in all packages to update every time we bump a package
is not something that can be "disabled". I am not talking from an user
point of view, but from a maintenance point of view.

I think in the past we talked about that with Peter and our opinions
was that it wasn't worth it. Now, I guess that if there are
sufficiently convincing arguments, we can change our minds :)

Regards,

Thomas
-- 
Thomas Petazzoni, Free Electrons
Kernel, drivers, real-time and embedded Linux
development, consulting, training and support.
http://free-electrons.com



More information about the buildroot mailing list