[poky] [PATCH 0/1] SRC_URI checksum support v3

Richard Purdie richard.purdie at linuxfoundation.org
Mon Dec 20 08:10:28 PST 2010


On Fri, 2010-12-17 at 14:33 +0800, Yu Ke wrote:
> This patch add SRC_URI checksum support. With this patch,fetcher
> can verify the MD5 and SHA256 checksum of download src with the
> value defined in recipes SRC_URI.
> 
> This is the v3 patch with following changes compared with v2:
> - add configurable variable BB_STRICT_CHECKSUM to handle checksum missing case
>   if checksum is missing and BB_STRICT_CHECKSUM = "1", bitbake will fatal
> - add check to only verify checksum for protocol http/https/ftp/ftps, not
>   verify checksum for local file and other SCM
> 
> Pull URL: git://git.pokylinux.org/poky-contrib.git
>   Branch: kyu3/srcuri-v3
>   Browse: http://git.pokylinux.org/cgit.cgi/poky-contrib/log/?h=kyu3/srcuri-v3

I merged this, then realised there was a problem with subsequent builds
proceeding with corrupt files. I've pushed a fix for at least part of
that.

I'm wondering if we should rename the file to something like the
original name + ".corrupt" to make sure we don't use a known broken
file?

Cheers,

Richard




More information about the poky mailing list