[OE-core] in SRC_URI, is "name=" necessary for a single tarball?

Robert P. J. Day rpjday at crashcourse.ca
Thu Dec 13 15:40:27 UTC 2012


just noticed this in busybox_1.20.2.bb:

SRC_URI = "http://www.busybox.net/downloads/busybox-${PV}.tar.bz2;name=tarball \
           file://B921600.patch \
           file://get_header_tar.patch \
           ... snip ...

SRC_URI[tarball.md5sum] = "e025414bc6cd79579cc7a32a45d3ae1c"
SRC_URI[tarball.sha256sum] = "eb13ff01dae5618ead2ef6f92ba879e9e0390f9583bd545d8789d27cf39b6882"

  in the above, does "name=tarball" actually serve any purpose?  i was
under the impression that if you had just the single tarball, you
could:

SRC_URI = "http://www.ijg.org/files/jpegsrc.v${PV}.tar.gz \
           file://debian-libjpeg7_7-1.diff \
           file://fix_for_automake_1.12.1.patch"

SRC_URI[md5sum] = "52654eb3b2e60c35731ea8fc87f1bd29"
SRC_URI[sha256sum] = "00029b1473f0f0ea72fbca3230e8cb25797fbb27e58ae2e46bb8bf5a806fe0b3"

  obviously in the case of busybox, it won't *hurt*, it just looks
unnecessary.

rday


-- 

========================================================================
Robert P. J. Day                                 Ottawa, Ontario, CANADA
                        http://crashcourse.ca

Twitter:                                       http://twitter.com/rpjday
LinkedIn:                               http://ca.linkedin.com/in/rpjday
========================================================================




More information about the Openembedded-core mailing list