summaryrefslogtreecommitdiffstats
path: root/bitbake
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:57:55 +0100
commit915ec3d02ea0741a9ec721086f49ff5187729588 (patch)
treec973b16a9af02e7b5d8752681e6c91dba1a8b987 /bitbake
parent344feb15b32eaf86687566ca33090bfe013a1648 (diff)
downloadast2050-yocto-poky-915ec3d02ea0741a9ec721086f49ff5187729588.zip
ast2050-yocto-poky-915ec3d02ea0741a9ec721086f49ff5187729588.tar.gz
bitbake: 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. (Bitbake rev: 340c250fc664414ab2715a454bedbd19e8efe103) Signed-off-by: Paul Eggleton <paul.eggleton@linux.intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'bitbake')
-rw-r--r--bitbake/lib/bb/cache.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/bitbake/lib/bb/cache.py b/bitbake/lib/bb/cache.py
index 318781b..431fc07 100644
--- a/bitbake/lib/bb/cache.py
+++ b/bitbake/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)
OpenPOWER on IntegriCloud