[oe] checksums for multiple sources

Trevor Woerner trevor.woerner at linaro.org
Wed Apr 9 08:51:47 UTC 2014


Is there any way to specify for which source tarball a particular
checksum is referring?

meta-openembedded/meta-oe/recipes-extended/acpica/acpitests_20140114.bb
has 2 source tarballs (and a patch):

    SRC_URI =
    "https://acpica.org/sites/acpica/files/acpitests-unix-${PV}.tar.gz \
              
    https://acpica.org/sites/acpica/files/acpica-unix2-${PV}.tar.gz \
               file://0001-Fixup-aapits-build.patch \
        "

but only one set of checksums:

    SRC_URI[md5sum] = "c72b61e092d2b25726dfff6e455116c9"
    SRC_URI[sha256sum] =
    "368f69296edef5138fd33affa2d50bdcdd1dfd2f6919ba782f8ecf03971a3a2c"


My build fails because it tries to verify the one checksum against both
source tarballs, which fails:

    File: '/home/trevor/devel/Downloads/acpica-unix2-20140114.tar.gz'
    has md5 checksum fcd4b7304f1bfabc7d4b9cfdecc6b0c6 when
    c72b61e092d2b25726dfff6e455116c9 was expected

NOTE: this checksum is correct for the first tarball
(acpitests-unix-${PV}.tar.gz), but not the second
(acpica-unix2-${PV}.tar.gz).



More information about the Openembedded-devel mailing list