[yocto] BKM on add SRC_URI MD5 and SHA256 checksum
Saul Wold
sgw at linux.intel.com
Wed Nov 17 21:35:53 PST 2010
On 11/17/2010 09:30 PM, Scott Garman wrote:
> On 11/17/2010 09:10 PM, Saul Wold wrote:
>> 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.
>
> The reason you see many OE files with the checksums at the end of the
> file is that at one point a member of the OE community wrote a script to
> append the values to a ton of recipes and then checked it in.
>
Can we borrow that script? That's what I would be doing also!
If you know where it is, it would save some of the work I need to do.
Sau!
> I would think that keeping the SRC_URI fields relatively close to each
> other makes more logical sense. But I'm not going to get religious about
> it.
>
> Scott
>
More information about the yocto
mailing list