From 1f326f2c29c2664a5daaeeb0c1fd332630efbdba Mon Sep 17 00:00:00 2001 From: Richard Purdie Date: Tue, 23 Jul 2019 22:44:29 +0100 Subject: siggen: Add new unitaskhashes data variable which is cached We need to preserve unihash task hashes between runs. Use the new SimpleCache class to create such a class within the signature generator which is loaded at init time and saved when builds complete. The default is unpopulated but metadata sig handlers can populate this cache. 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 9883a982c..519561c23 100644 --- a/lib/bb/runqueue.py +++ b/lib/bb/runqueue.py @@ -1516,6 +1516,7 @@ class RunQueue: self.dm_event_handler_registered = False if build_done and self.rqexe: + bb.parse.siggen.save_unitaskhashes() self.teardown_workers() if self.rqexe: if self.rqexe.stats.failed: -- cgit 1.2.3-korg