diff options
| author | Richard Purdie <richard.purdie@linuxfoundation.org> | 2017-09-01 16:21:49 +0100 |
|---|---|---|
| committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2017-09-02 00:52:10 +0100 |
| commit | 201fd94185e7e39759846402a3afb81191345c24 (patch) | |
| tree | 6045989c52626a0376e6744010c63b2e7f5695ad /bitbake/lib/bb | |
| parent | 2355a9b6f0dc4c8529cc57fb431112bce9125cee (diff) | |
| download | poky-201fd94185e7e39759846402a3afb81191345c24.tar.gz | |
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>
Diffstat (limited to 'bitbake/lib/bb')
| -rw-r--r-- | 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 ab3de91dac..f5ae831c4a 100644 --- a/bitbake/lib/bb/cooker.py +++ b/bitbake/lib/bb/cooker.py | |||
| @@ -418,6 +418,8 @@ class BBCooker: | |||
| 418 | 418 | ||
| 419 | self.handleCollections(self.data.getVar("BBFILE_COLLECTIONS")) | 419 | self.handleCollections(self.data.getVar("BBFILE_COLLECTIONS")) |
| 420 | 420 | ||
| 421 | self.parsecache_valid = False | ||
| 422 | |||
| 421 | def updateConfigOpts(self, options, environment, cmdline): | 423 | def updateConfigOpts(self, options, environment, cmdline): |
| 422 | self.ui_cmdline = cmdline | 424 | self.ui_cmdline = cmdline |
| 423 | clean = True | 425 | clean = True |
