[oe-commits] [bitbake] 02/03: siggen: Fix multiconfig corner case

git at git.openembedded.org git at git.openembedded.org
Sat Feb 23 10:42:19 UTC 2019


This is an automated email from the git hooks/post-receive script.

rpurdie pushed a commit to branch master-next
in repository bitbake.

commit c883dfe378af9dfc192a8e392e84325d68648806
Author: Richard Purdie <richard.purdie at linuxfoundation.org>
AuthorDate: Sat Feb 23 10:27:30 2019 +0000

    siggen: Fix multiconfig corner case
    
    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 03aa08b..09c9c8a 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

-- 
To stop receiving notification emails like this one, please contact
the administrator of this repository.


More information about the Openembedded-commits mailing list