From 5ac9cbf405841ed3f65e6f99a3cee032567fb182 Mon Sep 17 00:00:00 2001 From: Markus Lehtonen Date: Tue, 26 Jan 2016 15:34:29 +0200 Subject: bb/runqueue: save task file dependency cache onto disk Before this patch the usage of cache was quite useless as the file checksums were not actually cached on disk but re-calculated every time. This patch utilises the new writeout_file_checksum_cache() method of the SignatureGenerator class to do the job. Signed-off-by: Markus Lehtonen Signed-off-by: Richard Purdie --- lib/bb/runqueue.py | 1 + 1 file changed, 1 insertion(+) (limited to 'lib/bb/runqueue.py') diff --git a/lib/bb/runqueue.py b/lib/bb/runqueue.py index 2f0a9562d..946aa980d 100644 --- a/lib/bb/runqueue.py +++ b/lib/bb/runqueue.py @@ -829,6 +829,7 @@ class RunQueueData: procdep.append(self.taskData.fn_index[self.runq_fnid[dep]] + "." + self.runq_task[dep]) self.runq_hash[task] = bb.parse.siggen.get_taskhash(self.taskData.fn_index[self.runq_fnid[task]], self.runq_task[task], procdep, self.dataCache) + bb.parse.siggen.writeout_file_checksum_cache() return len(self.runq_fnid) def dump_data(self, taskQueue): -- cgit 1.2.3-korg