diff options
author | Paul Eggleton <paul.eggleton@linux.intel.com> | 2014-04-10 17:35:40 +0100 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2014-04-10 17:57:55 +0100 |
commit | 915ec3d02ea0741a9ec721086f49ff5187729588 (patch) | |
tree | c973b16a9af02e7b5d8752681e6c91dba1a8b987 /bitbake/lib/bb | |
parent | 344feb15b32eaf86687566ca33090bfe013a1648 (diff) | |
download | 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/lib/bb')
-rw-r--r-- | bitbake/lib/bb/cache.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/bitbake/lib/bb/cache.py b/bitbake/lib/bb/cache.py index 318781ba9b..431fc079e4 100644 --- a/bitbake/lib/bb/cache.py +++ b/bitbake/lib/bb/cache.py | |||
@@ -527,7 +527,7 @@ class Cache(object): | |||
527 | if hasattr(info_array[0], 'file_checksums'): | 527 | if hasattr(info_array[0], 'file_checksums'): |
528 | for _, fl in info_array[0].file_checksums.items(): | 528 | for _, fl in info_array[0].file_checksums.items(): |
529 | for f in fl.split(): | 529 | for f in fl.split(): |
530 | if not os.path.exists(f): | 530 | if not ('*' in f or os.path.exists(f)): |
531 | logger.debug(2, "Cache: %s's file checksum list file %s was removed", | 531 | logger.debug(2, "Cache: %s's file checksum list file %s was removed", |
532 | fn, f) | 532 | fn, f) |
533 | self.remove(fn) | 533 | self.remove(fn) |