From 159aee22dc7d8c78ca2920dfc58d8bf9238ef720 Mon Sep 17 00:00:00 2001 From: Richard Purdie Date: Wed, 6 Jul 2011 17:54:49 +0100 Subject: cache.py: Ensure additional .bbappend files are accounted for Currently if a user adds a new .bbappend file to the system, the cache still thinks the cached data is valid. This code fixes that to ensure additions and changed in append application order are accounted for. [YOCTO #1091] (Bitbake rev: 54fe91fe96aaae47c40077c5f441c79da71da777) Signed-off-by: Richard Purdie --- bitbake/lib/bb/cooker.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'bitbake/lib/bb/cooker.py') diff --git a/bitbake/lib/bb/cooker.py b/bitbake/lib/bb/cooker.py index 7976d299c0..ecf20dcf68 100644 --- a/bitbake/lib/bb/cooker.py +++ b/bitbake/lib/bb/cooker.py @@ -1298,7 +1298,7 @@ class CookerParser(object): self.willparse = [] for filename in self.filelist: appends = self.cooker.get_file_appends(filename) - if not self.bb_cache.cacheValid(filename): + if not self.bb_cache.cacheValid(filename, appends): self.willparse.append((filename, appends, cooker.caches_array)) else: self.fromcache.append((filename, appends)) -- cgit v1.2.3-54-g00ecf