[bitbake-devel] bitbake: cache: Bump cache version

Submitted by Joshua Watt on June 19, 2020, 6:41 p.m. | Patch ID: 173733


Message ID 20200619184132.6457-1-JPEWhacker@gmail.com
State New
Headers show

Commit Message

Joshua Watt June 19, 2020, 6:41 p.m.
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.

Signed-off-by: Joshua Watt <JPEWhacker@gmail.com>
 bitbake/lib/bb/cache.py | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

Patch hide | download patch | download mbox

diff --git a/bitbake/lib/bb/cache.py b/bitbake/lib/bb/cache.py
index c1e08511ba..b819a0c2da 100644
--- a/bitbake/lib/bb/cache.py
+++ b/bitbake/lib/bb/cache.py
@@ -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 = ''