summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorRichard Purdie <richard.purdie@linuxfoundation.org>2017-09-01 16:21:49 +0100
committerRichard Purdie <richard.purdie@linuxfoundation.org>2017-09-01 16:59:35 +0100
commit7234f33a7eb38ad51a8345f6689bc26e29f29f92 (patch)
tree40e44b4b1eafe06c565abd471e25570fc4032fb7
parent767c7ba8fc76ec667ac1567de1c971c3575f2ecd (diff)
downloadbitbake-contrib-7234f33a7eb38ad51a8345f6689bc26e29f29f92.tar.gz
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. Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
-rw-r--r--lib/bb/cooker.py2
1 files changed, 2 insertions, 0 deletions
diff --git a/lib/bb/cooker.py b/lib/bb/cooker.py
index ab3de91da..f5ae831c4 100644
--- a/lib/bb/cooker.py
+++ b/lib/bb/cooker.py
@@ -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