[Buildroot] [PATCH 4/4 v4] pkg-download: check hashes for locally cached files

Thomas Petazzoni thomas.petazzoni at free-electrons.com
Thu Dec 11 20:45:25 UTC 2014


Dear Yann E. MORIN,

On Thu, 11 Dec 2014 19:24:48 +0100, Yann E. MORIN wrote:
> In some cases, upstream just update their releases in-place, without
> renaming them. When that package is updated in Buildroot, a new hash to
> match the new upstream release is included in the corresponding .hash
> file.

We could also mention the case of SourceForge sending HTML crap from
time to time, and things like that.

> Note: this does not add any overhead compared to the previous situation,
> because we were already checking hashes of localy cached files. It just

locally.

Other than that:

Reviewed-by: Thomas Petazzoni <thomas.petazzoni at free-electrons.com>
-- 
Thomas Petazzoni, CTO, Free Electrons
Embedded Linux, Kernel and Android engineering
http://free-electrons.com



More information about the buildroot mailing list