diff options
Diffstat (limited to 'bitbake')
| -rw-r--r-- | bitbake/lib/bb/cache.py | 3 | ||||
| -rw-r--r-- | bitbake/lib/bb/cooker.py | 1 |
2 files changed, 3 insertions, 1 deletions
diff --git a/bitbake/lib/bb/cache.py b/bitbake/lib/bb/cache.py index f5b527ba6a..3fc097241a 100644 --- a/bitbake/lib/bb/cache.py +++ b/bitbake/lib/bb/cache.py | |||
| @@ -311,7 +311,7 @@ class SiggenRecipeInfo(RecipeInfoCommon): | |||
| 311 | cls.restore_map[pid] = {} | 311 | cls.restore_map[pid] = {} |
| 312 | cls.restore_count[pid] = 1 | 312 | cls.restore_count[pid] = 1 |
| 313 | map = cls.restore_map[pid] | 313 | map = cls.restore_map[pid] |
| 314 | for fs, dep, mapnum in deps: | 314 | for dep, fs, mapnum in deps: |
| 315 | if mapnum: | 315 | if mapnum: |
| 316 | ret[dep] = map[mapnum] | 316 | ret[dep] = map[mapnum] |
| 317 | else: | 317 | else: |
| @@ -759,6 +759,7 @@ class MulticonfigCache(Mapping): | |||
| 759 | loaded = 0 | 759 | loaded = 0 |
| 760 | 760 | ||
| 761 | for c in self.__caches.values(): | 761 | for c in self.__caches.values(): |
| 762 | SiggenRecipeInfo.reset() | ||
| 762 | loaded += c.prepare_cache(progress) | 763 | loaded += c.prepare_cache(progress) |
| 763 | previous_progress = current_progress | 764 | previous_progress = current_progress |
| 764 | 765 | ||
diff --git a/bitbake/lib/bb/cooker.py b/bitbake/lib/bb/cooker.py index 48c3002ce3..b81f8e0c59 100644 --- a/bitbake/lib/bb/cooker.py +++ b/bitbake/lib/bb/cooker.py | |||
| @@ -2226,6 +2226,7 @@ class CookerParser(object): | |||
| 2226 | 2226 | ||
| 2227 | def sync_caches(): | 2227 | def sync_caches(): |
| 2228 | for c in self.bb_caches.values(): | 2228 | for c in self.bb_caches.values(): |
| 2229 | bb.cache.SiggenRecipeInfo.reset() | ||
| 2229 | c.sync() | 2230 | c.sync() |
| 2230 | 2231 | ||
| 2231 | self.syncthread = threading.Thread(target=sync_caches, name="SyncThread") | 2232 | self.syncthread = threading.Thread(target=sync_caches, name="SyncThread") |
