[bitbake-devel] [PATCH] runqueue.py: Wipe out the stamp cache between setscene and main task execution

Richard Purdie richard.purdie at linuxfoundation.org
Wed Jul 25 21:11:48 UTC 2012


The stamp files can change during setscene and the cache should be cleared to
account for this.

Signed-off-by: Richard Purdie <richard.purdie at linuxfoundation.org>
---
diff --git a/bitbake/lib/bb/runqueue.py b/bitbake/lib/bb/runqueue.py
index ca5fe97..d3a1d2d 100644
--- a/bitbake/lib/bb/runqueue.py
+++ b/bitbake/lib/bb/runqueue.py
@@ -1170,6 +1170,8 @@ class RunQueueExecuteTasks(RunQueueExecute):
 
         self.stats = RunQueueStats(len(self.rqdata.runq_fnid))
 
+        self.stampcache = {}
+
         # Mark initial buildable tasks
         for task in xrange(self.stats.total):
             self.runq_running.append(0)






More information about the bitbake-devel mailing list