From 340c250fc664414ab2715a454bedbd19e8efe103 Mon Sep 17 00:00:00 2001 From: Paul Eggleton Date: Thu, 10 Apr 2014 17:35:40 +0100 Subject: 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 Signed-off-by: Richard Purdie --- lib/bb/cache.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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) -- cgit 1.2.3-korg