[oe-commits] [bitbake] branch master-next updated: cooker: Ensure parseConfiguration clears parsecache_valid

git at git.openembedded.org git at git.openembedded.org
Fri Sep 1 16:17:17 UTC 2017


This is an automated email from the git hooks/post-receive script.

rpurdie pushed a commit to branch master-next
in repository bitbake.

The following commit(s) were added to refs/heads/master-next by this push:
     new 7234f33  cooker: Ensure parseConfiguration clears parsecache_valid
7234f33 is described below

commit 7234f33a7eb38ad51a8345f6689bc26e29f29f92
Author: Richard Purdie <richard.purdie at linuxfoundation.org>
AuthorDate: Fri Sep 1 16:21:49 2017 +0100

    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 at linuxfoundation.org>
---
 lib/bb/cooker.py | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/lib/bb/cooker.py b/lib/bb/cooker.py
index ab3de91..f5ae831 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

-- 
To stop receiving notification emails like this one, please contact
the administrator of this repository.


More information about the Openembedded-commits mailing list