[oe] OEDEM 2009 summary: Death to checksums.ini?

Phil Blundell philb at gnu.org
Thu Nov 12 18:36:02 UTC 2009


On Wed, 2009-11-11 at 20:34 +0000, Phil Blundell wrote:
> That should still work fine.  The purpose of the "name=bar" thing is to
> decouple the checksum from the exact URI in use.  So, you can write:
> 
> SRC_URI = "${MIRROR}/somedir/${PN}-${PV}.tar.gz;name=mytarball \
>            ${OTHERMIRROR}/${PN}-${PV}-extra-files.tar.gz;name=extrafiles"
> 
> and then, in another file if you prefer, add:
> 
> SRC_URI[md5sum:mytarball] = "d3b07384d113edec49eaa6238ad5ff00"
> SRC_URI[md5sum:extrafiles] = "c157a79031e1c40f85931829bc5fc552"

It turns out that colons in flag names aren't actually accepted by the
parser, but something similar with dots is OK.  So, here's a patch to
make it work.  The modified notation is actually:

SRC_URI[mytarball.md5sum] = "d3b07384d113edec49eaa6238ad5ff00"

and likewise for sha256sum.

p.


-------------- next part --------------
A non-text attachment was scrubbed...
Name: base.patch
Type: text/x-patch
Size: 2988 bytes
Desc: not available
URL: <http://lists.openembedded.org/pipermail/openembedded-devel/attachments/20091112/12063591/attachment-0002.bin>


More information about the Openembedded-devel mailing list