* [PATCH] package_deb: Ensure allarch deb packages aren't target specific
@ 2016-02-07 17:09 Richard Purdie
0 siblings, 0 replies; only message in thread
From: Richard Purdie @ 2016-02-07 17:09 UTC (permalink / raw)
To: openembedded-core
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>
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"
^ permalink raw reply related [flat|nested] only message in thread
only message in thread, other threads:[~2016-02-07 17:09 UTC | newest]
Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2016-02-07 17:09 [PATCH] package_deb: Ensure allarch deb packages aren't target specific Richard Purdie
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox