[OE-core] [PATCH] package_deb: Ensure allarch deb packages aren't target specific

Richard Purdie richard.purdie at linuxfoundation.org
Sun Feb 7 17:09:08 UTC 2016


The use of TUNE_FEATURES was making do_package_write_deb of allarch
packages target specific.

To avoid this, only use the end value of DPKG_ARCH for its checksum,
not intermediate values or variables.

Signed-off-by: Richard Purdie <richard.purdie at linuxfoundation.org>

diff --git a/meta/classes/package_deb.bbclass b/meta/classes/package_deb.bbclass
index 25218d0..b3cf07a 100644
--- a/meta/classes/package_deb.bbclass
+++ b/meta/classes/package_deb.bbclass
@@ -7,6 +7,7 @@ inherit package
 IMAGE_PKGTYPE ?= "deb"
 
 DPKG_ARCH ?= "${@debian_arch_map(d.getVar('TARGET_ARCH', True), d.getVar('TUNE_FEATURES', True))}"
+DPKG_ARCH[vardepvalue] = "${DPKG_ARCH}"
 
 PKGWRITEDIRDEB = "${WORKDIR}/deploy-debs"
 





More information about the Openembedded-core mailing list