[oe] checksums situation
Otavio Salvador
otavio at debian.org
Sun Feb 15 18:32:17 UTC 2009
Phil Blundell <pb at reciva.com> writes:
> For packages where the SRC_URI is defined locally in the .bb file then
> there's no real problem: the existing ";md5sum=..." notation will work
> fine. For packages where SRC_URI is inherited from some class or
> include file, obviously that doesn't work. In that case I guess the
> easiest solution is just to put the checksums in a separate variable,
> something like:
>
> CHECKSUMS = "foo_${PV}.tar.bz/md5=076e48835bee2609a3713b35fb89631c"
> CHECKSUMS += "foo_1.0-${PR}.patch/sha1=9bfbeca5db4887b62826da6d0169c62c244f6188"
Yes; I like this solution since it allows it to be with the bb
itself. BTW a nice alternative would be
#v+
MD5SUMS = "foo_${PV}.tar.bz/076e48835bee2609a3713b35fb89631c"
SHA1SUMS += "foo_1.0-${PR}.patch/9bfbeca5db4887b62826da6d0169c62c244f6188"
#v-
This is more or less what you though however avoids the requirement to
have it specified at the file.
--
O T A V I O S A L V A D O R
---------------------------------------------
E-mail: otavio at debian.org UIN: 5906116
GNU/Linux User: 239058 GPG ID: 49A5F855
Home Page: http://otavio.ossystems.com.br
---------------------------------------------
"Microsoft sells you Windows ... Linux gives
you the whole house."
More information about the Openembedded-devel
mailing list