diff options
author | Richard Purdie <richard.purdie@linuxfoundation.org> | 2017-08-08 20:44:36 +0100 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2017-08-09 10:52:09 +0100 |
commit | e4c6ca9440f63761560b49bbe12654441f54687e (patch) | |
tree | 4dd0c8a9c65193d329c4acbb836284e282c5ba10 /lib/bb/cooker.py | |
parent | 923d5567be6fd9969ca74c166f36817ec09305e3 (diff) | |
download | bitbake-e4c6ca9440f63761560b49bbe12654441f54687e.tar.gz |
cooker/siggen: Reset siggen when reparsing
If we don't do this, we get basehash mismatch errors occurring from the reparse
which would then set bitbake's error exit code.
This for example would cause oe-selftest -r bbtests.BitbakeTests.test_bbappend_order
to fail with a non-zero BB_SERVER_TIMEOUT.
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'lib/bb/cooker.py')
-rw-r--r-- | lib/bb/cooker.py | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/lib/bb/cooker.py b/lib/bb/cooker.py index 81027db26..3740c61dc 100644 --- a/lib/bb/cooker.py +++ b/lib/bb/cooker.py @@ -1468,6 +1468,7 @@ class BBCooker: self.updateCacheSync() if self.state != state.parsing and not self.parsecache_valid: + bb.parse.siggen.reset(self.data) self.parseConfiguration () if CookerFeatures.SEND_SANITYEVENTS in self.featureset: for mc in self.multiconfigs: |