Skip to contentSkip to conversation

cooker: Ensure parseConfiguration clears parsecache_valid

PATCH New Richard Purdie 1 participant 1 message Sep 1, 2017

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 cooker: Ensure parseConfiguration clears parsecache_valid

BB_SERVER_TIMEOUT=100 oe-selftest -r bblayers

was failing and highlighted that since parseConfiguation clears data structures, it needs to also clear parsecache_valid as it no longer contains correct data.

---
 lib/bb/cooker.py | 2 ++
 1 file changed, 2 insertions(+)
lib/bb/cooker.py +2 -0
index ab3de91..f5ae831 100644
@@ -418,6 +418,8 @@ class BBCooker:
 
         self.handleCollections(self.data.getVar("BBFILE_COLLECTIONS"))
 
+        self.parsecache_valid = False
+
     def updateConfigOpts(self, options, environment, cmdline):
         self.ui_cmdline = cmdline
         clean = True
Signature · 1 line
2.7.4