[yocto] BKM on add SRC_URI MD5 and SHA256 checksum

Saul Wold sgw at linux.intel.com
Wed Nov 17 21:10:14 PST 2010


On 11/17/2010 06:32 PM, Yu, Ke wrote:
> Hi Distro folks:
>
> As Saul suggest to add SRC_URI MD5 and SHA256 checksum when we upgrade the recipes, here is a simple how-to:
>
> Two entry is needed for checksum, take meta/recipes-extended/tar/tar_1.23.bb as example:
> SRC_URI[md5sum] = "41e2ca4b924ec7860e51b43ad06cdb7e"
> SRC_URI[sha256sum] = "c9328372db62fbb1d94c9e4e3cefc961111af46de47085b635359c00a0eebe36"
>
Also, a clarification, these values should go at the END of the file, 
which I believe is the OE Style on this.

Sau!
> The md5sum and sha256sum value can be get by:
>
> # md5sum /your_DL_DIR/ tar-1.23.tar.bz2
> 41e2ca4b924ec7860e51b43ad06cdb7e
>
> # sha256sum /your_DL_DIR/ tar-1.23.tar.bz2
> c9328372db62fbb1d94c9e4e3cefc961111af46de47085b635359c00a0eebe36
>
> Regards
> Ke
> _______________________________________________
> yocto mailing list
> yocto at yoctoproject.org
> https://lists.yoctoproject.org/listinfo/yocto



More information about the yocto mailing list