diff options
author | Richard Purdie <richard.purdie@linuxfoundation.org> | 2016-02-07 17:09:08 +0000 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2016-02-10 16:06:24 +0000 |
commit | 26f26e5cbdc42423d822213580556a8457c7418d (patch) | |
tree | 900da100e13dd3130939764bf0bb6e1e5436d8c9 /meta/classes/package_deb.bbclass | |
parent | b3a2065d47bda8256815d363aeac2b475532b483 (diff) | |
download | poky-26f26e5cbdc42423d822213580556a8457c7418d.tar.gz |
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.
(From OE-Core rev: 65955cf1c7d5c59f29d769a8244ae7c156a43f38)
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta/classes/package_deb.bbclass')
-rw-r--r-- | meta/classes/package_deb.bbclass | 1 |
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 | |||
7 | IMAGE_PKGTYPE ?= "deb" | 7 | IMAGE_PKGTYPE ?= "deb" |
8 | 8 | ||
9 | DPKG_ARCH ?= "${@debian_arch_map(d.getVar('TARGET_ARCH', True), d.getVar('TUNE_FEATURES', True))}" | 9 | DPKG_ARCH ?= "${@debian_arch_map(d.getVar('TARGET_ARCH', True), d.getVar('TUNE_FEATURES', True))}" |
10 | DPKG_ARCH[vardepvalue] = "${DPKG_ARCH}" | ||
10 | 11 | ||
11 | PKGWRITEDIRDEB = "${WORKDIR}/deploy-debs" | 12 | PKGWRITEDIRDEB = "${WORKDIR}/deploy-debs" |
12 | 13 | ||