summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorPaul Eggleton <paul.eggleton@linux.intel.com>2014-04-10 17:35:40 +0100
committerRichard Purdie <richard.purdie@linuxfoundation.org>2014-04-10 17:55:41 +0100
commit340c250fc664414ab2715a454bedbd19e8efe103 (patch)
tree7bd11c2b8cae1126273b0493dc598b161758647a
parent40027a6e093c3b7480bfaccbd57e0e613d9a7b71 (diff)
downloadbitbake-340c250fc664414ab2715a454bedbd19e8efe103.tar.gz
cache: don't trigger reparse on recipes with wildcards in SRC_URI
Since we now get wildcards in the file checksum list in the cache, we need to ignore them when checking to see if they still exist. This fixes connman-gnome reparsing on every bitbake execution in OE-Core. Signed-off-by: Paul Eggleton <paul.eggleton@linux.intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
-rw-r--r--lib/bb/cache.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/bb/cache.py b/lib/bb/cache.py
index 318781ba9..431fc079e 100644
--- a/lib/bb/cache.py
+++ b/lib/bb/cache.py
@@ -527,7 +527,7 @@ class Cache(object):
if hasattr(info_array[0], 'file_checksums'):
for _, fl in info_array[0].file_checksums.items():
for f in fl.split():
- if not os.path.exists(f):
+ if not ('*' in f or os.path.exists(f)):
logger.debug(2, "Cache: %s's file checksum list file %s was removed",
fn, f)
self.remove(fn)