summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRichard Purdie <richard.purdie@linuxfoundation.org>2016-02-07 17:09:08 +0000
committerRichard Purdie <richard.purdie@linuxfoundation.org>2016-02-10 15:51:04 +0000
commit65955cf1c7d5c59f29d769a8244ae7c156a43f38 (patch)
tree26d9e587e1f47a28d7d4d5eefdb13dfa65884cba
parent187190bfe3f589a7d1acaa22fab4607f976635ce (diff)
downloadopenembedded-core-65955cf1c7d5c59f29d769a8244ae7c156a43f38.tar.gz
openembedded-core-65955cf1c7d5c59f29d769a8244ae7c156a43f38.tar.bz2
openembedded-core-65955cf1c7d5c59f29d769a8244ae7c156a43f38.zip
package_deb: Ensure allarch deb packages aren't target specific
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@linuxfoundation.org>
-rw-r--r--meta/classes/package_deb.bbclass1
1 files changed, 1 insertions, 0 deletions
diff --git a/meta/classes/package_deb.bbclass b/meta/classes/package_deb.bbclass
index 25218d0865..b3cf07a25b 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"