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: diff --git a/bitbake/lib/bb/siggen.py b/bitbake/lib/bb/siggen.py index f71190ad4b..4380760e77 100644 --- a/bitbake/lib/bb/siggen.py +++ b/bitbake/lib/bb/siggen.py @@ -94,6 +94,9 @@ class SignatureGeneratorBasic(SignatureGenerator): else: self.checksum_cache = None + def reset(self, data): + self.__init__(data) + def init_rundepcheck(self, data): self.taskwhitelist = data.getVar("BB_HASHTASK_WHITELIST") or None if self.taskwhitelist: