Openembedded Core Discussions
 help / color / mirror / Atom feed
* [PATCH 1/5] allarch: Append to vardepsexclude, not overwrite
@ 2017-06-13  9:49 Richard Purdie
  2017-06-13  9:49 ` [PATCH 2/5] insane: Don't depend on OVERRIDES Richard Purdie
                   ` (4 more replies)
  0 siblings, 5 replies; 8+ messages in thread
From: Richard Purdie @ 2017-06-13  9:49 UTC (permalink / raw)
  To: openembedded-core

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>
---
 meta/classes/allarch.bbclass | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/meta/classes/allarch.bbclass b/meta/classes/allarch.bbclass
index a7ce024..51ba509c 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"))
 }
-- 
2.7.4



^ permalink raw reply related	[flat|nested] 8+ messages in thread

end of thread, other threads:[~2017-06-14 10:54 UTC | newest]

Thread overview: 8+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2017-06-13  9:49 [PATCH 1/5] allarch: Append to vardepsexclude, not overwrite Richard Purdie
2017-06-13  9:49 ` [PATCH 2/5] insane: Don't depend on OVERRIDES Richard Purdie
2017-06-13  9:49 ` [PATCH 3/5] utils: Exclude OVERRIDES from hashes in multilib functions Richard Purdie
2017-06-13  9:49 ` [PATCH 4/5] sstatetests: Use higher parallelism value Richard Purdie
2017-06-13 15:55   ` Andre McCurdy
2017-06-14 10:54     ` Richard Purdie
2017-06-13  9:49 ` [PATCH 5/5] bitbake.conf: Don't exclude MACHINE/MACHINEOVERRIDES from hashes Richard Purdie
2017-06-13 10:01 ` ✗ patchtest: failure for "allarch: Append to vardepsexcl..." and 4 more Patchwork

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox