mirror of
https://git.yoctoproject.org/poky
synced 2026-04-20 00:32:13 +02:00
bitbake: cooker: Ensure cache is cleared for partial resets
We're still seeing occasional SiggenRecipeInfo coherency issues, add some further reset points into the parsing code to ensure the cache is cleared before reparsing. (Bitbake rev: 26ed783caf11dc9ebf53d3790681eb44c0c360f0) Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
This commit is contained in:
@@ -2186,6 +2186,8 @@ class CookerParser(object):
|
||||
self.haveshutdown = False
|
||||
self.syncthread = None
|
||||
|
||||
bb.cache.SiggenRecipeInfo.reset()
|
||||
|
||||
def start(self):
|
||||
self.results = self.load_cached()
|
||||
self.processes = []
|
||||
@@ -2382,6 +2384,7 @@ class CookerParser(object):
|
||||
return True
|
||||
|
||||
def reparse(self, filename):
|
||||
bb.cache.SiggenRecipeInfo.reset()
|
||||
to_reparse = set()
|
||||
for mc in self.cooker.multiconfigs:
|
||||
to_reparse.add((mc, filename, self.cooker.collections[mc].get_file_appends(filename)))
|
||||
|
||||
Reference in New Issue
Block a user