[oe-commits] [bitbake] 02/02: cooker.py: run sanity checks for multiconfig

git at git.openembedded.org git at git.openembedded.org
Thu Mar 16 15:34:35 UTC 2017


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

rpurdie pushed a commit to branch 1.32
in repository bitbake.

commit 0f7fdaa8212a8b9f1f089d32e652400d6c4b4822
Author: Juro Bystricky <juro.bystricky at intel.com>
AuthorDate: Mon Feb 6 08:49:20 2017 -0800

    cooker.py: run sanity checks for multiconfig
    
    Also run sanity check for all additional multiconfig configurations
    as listed in BBMULTICONFIG, not just the "default" configuration.
    
    [YOCTO#10810]
    
    Signed-off-by: Juro Bystricky <juro.bystricky at intel.com>
    Signed-off-by: Richard Purdie <richard.purdie at linuxfoundation.org>
---
 lib/bb/cooker.py | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/lib/bb/cooker.py b/lib/bb/cooker.py
index 4877c4b..07897be 100644
--- a/lib/bb/cooker.py
+++ b/lib/bb/cooker.py
@@ -1623,7 +1623,8 @@ class BBCooker:
         if self.state != state.parsing and not self.parsecache_valid:
             self.parseConfiguration ()
             if CookerFeatures.SEND_SANITYEVENTS in self.featureset:
-                bb.event.fire(bb.event.SanityCheck(False), self.data)
+                for mc in self.multiconfigs:
+                    bb.event.fire(bb.event.SanityCheck(False), self.databuilder.mcdata[mc])
 
             for mc in self.multiconfigs:
                 ignore = self.databuilder.mcdata[mc].getVar("ASSUME_PROVIDED", True) or ""

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


More information about the Openembedded-commits mailing list