From ea9fff4bd030266290e7f7aeef83603a02d35ae1 Mon Sep 17 00:00:00 2001 From: Richard Purdie Date: Tue, 8 Aug 2017 20:44:36 +0100 Subject: bitbake: 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. (Bitbake rev: e4c6ca9440f63761560b49bbe12654441f54687e) Signed-off-by: Richard Purdie --- bitbake/lib/bb/cooker.py | 1 + 1 file changed, 1 insertion(+) (limited to 'bitbake/lib/bb/cooker.py') diff --git a/bitbake/lib/bb/cooker.py b/bitbake/lib/bb/cooker.py index 81027db265..3740c61dc6 100644 --- a/bitbake/lib/bb/cooker.py +++ b/bitbake/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: -- cgit v1.2.3-54-g00ecf