[bitbake-devel] [PATCH 2/3] siggen: Fix multiconfig corner case

Richard Purdie richard.purdie at linuxfoundation.org
Sat Feb 23 10:41:03 UTC 2019


There was already a fix to ignore some multiconfig dependencies but its
'opposite' case wasn't covered. Cover that combination to so as to avoid
tracebacks in multiconfig builds.

[YOCTO #13090]
[YOCTO #13130]

Signed-off-by: Richard Purdie <richard.purdie at linuxfoundation.org>
---
 lib/bb/siggen.py | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/lib/bb/siggen.py b/lib/bb/siggen.py
index 03aa08bb94..09c9c8a25f 100644
--- a/lib/bb/siggen.py
+++ b/lib/bb/siggen.py
@@ -184,6 +184,8 @@ class SignatureGeneratorBasic(SignatureGenerator):
                 depmc = pkgname.split(':')[1]
                 if mc != depmc:
                     continue
+            if dep.startswith("multiconfig:") and not mc:
+                continue
             depname = dataCache.pkg_fn[pkgname]
             if not self.rundep_check(fn, recipename, task, dep, depname, dataCache):
                 continue
-- 
2.20.1



More information about the bitbake-devel mailing list