summaryrefslogtreecommitdiffstats
path: root/bitbake/lib/bb/cooker.py
diff options
context:
space:
mode:
authorRichard Purdie <richard.purdie@linuxfoundation.org>2011-07-06 17:54:49 +0100
committerRichard Purdie <richard.purdie@linuxfoundation.org>2011-07-07 10:57:42 +0100
commit159aee22dc7d8c78ca2920dfc58d8bf9238ef720 (patch)
tree88efc1c0ae9ceeb176f21889119bd918ecef9af0 /bitbake/lib/bb/cooker.py
parentd4132fa12885fc050313a5c9aa6903e4fa92c94f (diff)
downloadpoky-159aee22dc7d8c78ca2920dfc58d8bf9238ef720.tar.gz
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 <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'bitbake/lib/bb/cooker.py')
-rw-r--r--bitbake/lib/bb/cooker.py2
1 files changed, 1 insertions, 1 deletions
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):
1298 self.willparse = [] 1298 self.willparse = []
1299 for filename in self.filelist: 1299 for filename in self.filelist:
1300 appends = self.cooker.get_file_appends(filename) 1300 appends = self.cooker.get_file_appends(filename)
1301 if not self.bb_cache.cacheValid(filename): 1301 if not self.bb_cache.cacheValid(filename, appends):
1302 self.willparse.append((filename, appends, cooker.caches_array)) 1302 self.willparse.append((filename, appends, cooker.caches_array))
1303 else: 1303 else:
1304 self.fromcache.append((filename, appends)) 1304 self.fromcache.append((filename, appends))