From 8f61f2d8812df8d8e57affd7c8a45c1054c59b83 Mon Sep 17 00:00:00 2001 From: Markus Lehtonen Date: Tue, 26 Jan 2016 15:34:29 +0200 Subject: bitbake: 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. (Bitbake rev: 5ac9cbf405841ed3f65e6f99a3cee032567fb182) Signed-off-by: Markus Lehtonen Signed-off-by: Richard Purdie --- bitbake/lib/bb/runqueue.py | 1 + 1 file changed, 1 insertion(+) (limited to 'bitbake/lib/bb/runqueue.py') diff --git a/bitbake/lib/bb/runqueue.py b/bitbake/lib/bb/runqueue.py index 2f0a9562d7..946aa980d3 100644 --- a/bitbake/lib/bb/runqueue.py +++ b/bitbake/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 v1.2.3-54-g00ecf