[gnome-continuous-yocto/gnomeostree-3.28-rocko: 4663/8267] bitbake: cooker.py: run sanity checks for multiconfig



commit e98757e267389267d96778a1b443293eae12799e
Author: Juro Bystricky <juro bystricky intel com>
Date:   Mon Feb 6 08:49:20 2017 -0800

    bitbake: 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]
    
    (Bitbake rev: b9777374cbe63cdcf80767033f628c26d23e90f9)
    
    Signed-off-by: Juro Bystricky <juro bystricky intel com>
    Signed-off-by: Richard Purdie <richard purdie linuxfoundation org>

 bitbake/lib/bb/cooker.py |    3 ++-
 1 files changed, 2 insertions(+), 1 deletions(-)
---
diff --git a/bitbake/lib/bb/cooker.py b/bitbake/lib/bb/cooker.py
index 74607f7..fd1c629 100644
--- a/bitbake/lib/bb/cooker.py
+++ b/bitbake/lib/bb/cooker.py
@@ -1638,7 +1638,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") or ""


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]