Skip to contentSkip to conversation

bitbake: cache: Bump cache version

PATCH New Joshua Watt 1 participant 1 message Jun 19, 2020

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 bitbake: cache: Bump cache version

The layout of the cache data hasn't changed, but the cache has now been split into different files for multiconfig. If a user pulls in these changes, it's possible that their base cache will still contain the combined multiconfig cache entries, which are now unexpected and generate errors like:

Unexpected multiconfig: foo

Bumping the version fixes this since the old cache data won't be considered valid anymore.

---
 bitbake/lib/bb/cache.py | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
bitbake/lib/bb/cache.py +1 -1
index c1e08511ba..b819a0c2da 100644
@@ -26,7 +26,7 @@ import re
 
 logger = logging.getLogger("BitBake.Cache")
 
-__cache_version__ = "152"
+__cache_version__ = "153"
 
 def getCacheFile(path, filename, mc, data_hash):
     mcspec = ''
Signature · 1 line
2.27.0