[bitbake-devel] [PATCH 1/1] cache: don't trigger reparse on recipes with wildcards in SRC_URI

Paul Eggleton paul.eggleton at linux.intel.com
Thu Apr 10 16:35:40 UTC 2014


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 at linux.intel.com>
---
 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 318781b..431fc07 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)
-- 
1.9.0




More information about the bitbake-devel mailing list