Skip to contentSkip to conversation

package_deb: Ensure allarch deb packages aren't target specific

PATCH New Richard Purdie 1 participant 1 message Feb 7, 2016

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 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.

meta/classes/package_deb.bbclass +1 -0
index 25218d0..b3cf07a 100644
@@ -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"