Skip to contentSkip to conversation

sanity checks for multiconfig

PATCH New Juro Bystricky 1 participant 2 messages Feb 6, 2017

lore
Share & tools
lore
#0 lore raw

cover sanity checks for multiconfig

ping...

Juro Bystricky (1):
cooker.py: run sanity checks for multiconfig

 bitbake/lib/bb/cooker.py | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)
Signature · 1 line
2.7.4
#1 lore raw

PATCH 1/1 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/lib/bb/cooker.py | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)
bitbake/lib/bb/cooker.py +2 -1
index 80007c5..f8def47 100644
@@ -1641,7 +1641,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 ""
Signature · 1 line
2.7.4