mirror of
https://git.yoctoproject.org/poky
synced 2026-05-08 05:09:24 +00:00
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. (From OE-Core rev: b756fd12c28d1ce3ca60b328927db996c6a52424) Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
This commit is contained in:
@@ -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"))
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user