diff options
author | Richard Purdie <richard.purdie@linuxfoundation.org> | 2017-06-13 10:09:29 +0100 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2017-06-14 10:17:55 +0100 |
commit | b756fd12c28d1ce3ca60b328927db996c6a52424 (patch) | |
tree | 14ae8a995e4d88fda761443aa973ac4e5c7aab00 | |
parent | 9ab20ceb5801bee8dd8b218b3928720da5e1d403 (diff) | |
download | openembedded-core-b756fd12c28d1ce3ca60b328927db996c6a52424.tar.gz openembedded-core-b756fd12c28d1ce3ca60b328927db996c6a52424.tar.bz2 openembedded-core-b756fd12c28d1ce3ca60b328927db996c6a52424.zip |
allarch: Append to vardepsexclude, not overwrite
These have values set elsewhere and this code was overwriting them leading
to odd signature issues. Append instead preserving the original values.
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
-rw-r--r-- | meta/classes/allarch.bbclass | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/meta/classes/allarch.bbclass b/meta/classes/allarch.bbclass index a7ce024649..51ba509cd0 100644 --- a/meta/classes/allarch.bbclass +++ b/meta/classes/allarch.bbclass @@ -43,8 +43,8 @@ python () { d.setVar("INHIBIT_PACKAGE_STRIP", "1") # These multilib values shouldn't change allarch packages so exclude them - d.setVarFlag("emit_pkgdata", "vardepsexclude", "MULTILIB_VARIANTS") - d.setVarFlag("write_specfile", "vardepsexclude", "MULTILIBS") + d.appendVarFlag("emit_pkgdata", "vardepsexclude", " MULTILIB_VARIANTS") + d.appendVarFlag("write_specfile", "vardepsexclude", " MULTILIBS") elif bb.data.inherits_class('packagegroup', d) and not bb.data.inherits_class('nativesdk', d): bb.error("Please ensure recipe %s sets PACKAGE_ARCH before inherit packagegroup" % d.getVar("FILE")) } |