[gnome-continuous-yocto/gnomeostree-3.28-rocko: 7519/8267] bitbake: cooker: Ensure parseConfiguration clears parsecache_valid



commit 201fd94185e7e39759846402a3afb81191345c24
Author: Richard Purdie <richard purdie linuxfoundation org>
Date:   Fri Sep 1 16:21:49 2017 +0100

    bitbake: 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.
    
    (Bitbake rev: 7234f33a7eb38ad51a8345f6689bc26e29f29f92)
    
    Signed-off-by: Richard Purdie <richard purdie linuxfoundation org>

 bitbake/lib/bb/cooker.py |    2 ++
 1 files changed, 2 insertions(+), 0 deletions(-)
---
diff --git a/bitbake/lib/bb/cooker.py b/bitbake/lib/bb/cooker.py
index ab3de91..f5ae831 100644
--- a/bitbake/lib/bb/cooker.py
+++ b/bitbake/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


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