summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--bitbake/lib/bb/cache.py9
1 files changed, 9 insertions, 0 deletions
diff --git a/bitbake/lib/bb/cache.py b/bitbake/lib/bb/cache.py
index 9e89742235..eee83b7d09 100644
--- a/bitbake/lib/bb/cache.py
+++ b/bitbake/lib/bb/cache.py
@@ -524,6 +524,15 @@ class Cache(object):
524 self.remove(fn) 524 self.remove(fn)
525 return False 525 return False
526 526
527 if hasattr(info_array[0], 'file_checksums'):
528 for _, fl in info_array[0].file_checksums.items():
529 for f in fl.split():
530 if not os.path.exists(f):
531 logger.debug(2, "Cache: %s's file checksum list file %s was removed",
532 fn, f)
533 self.remove(fn)
534 return False
535
527 if appends != info_array[0].appends: 536 if appends != info_array[0].appends:
528 logger.debug(2, "Cache: appends for %s changed", fn) 537 logger.debug(2, "Cache: appends for %s changed", fn)
529 logger.debug(2, "%s to %s" % (str(appends), str(info_array[0].appends))) 538 logger.debug(2, "%s to %s" % (str(appends), str(info_array[0].appends)))