summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorRichard Purdie <richard.purdie@linuxfoundation.org>2019-09-26 14:36:46 +0100
committerRichard Purdie <richard.purdie@linuxfoundation.org>2019-09-30 17:23:35 +0100
commit2f8cd1d021a4311e31385a35d540b34195101fc1 (patch)
tree3e9e3b930b768627a1a2ca15cd63fda464a4d118
parentba0ff38cabc7091bc8c6287faabede7331c4ab08 (diff)
downloadpoky-2f8cd1d021a4311e31385a35d540b34195101fc1.tar.gz
bitbake: runqueue: Save unihashes more frequently
There are some runqueue code paths where the unihash cache would not be saved where for example only parsing or an occurred. Save the cache at the end of runqueue generation to ensure entries are cached. (Bitbake rev: 9eee0d36870c11dd303894a6151c33a83bd3a1bc) Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
-rw-r--r--bitbake/lib/bb/runqueue.py1
1 files changed, 1 insertions, 0 deletions
diff --git a/bitbake/lib/bb/runqueue.py b/bitbake/lib/bb/runqueue.py
index 29bfd65e0b..31de3ed1cf 100644
--- a/bitbake/lib/bb/runqueue.py
+++ b/bitbake/lib/bb/runqueue.py
@@ -1443,6 +1443,7 @@ class RunQueue:
1443 self.state = runQueueComplete 1443 self.state = runQueueComplete
1444 else: 1444 else:
1445 self.state = runQueueSceneInit 1445 self.state = runQueueSceneInit
1446 bb.parse.siggen.save_unitaskhashes()
1446 1447
1447 if self.state is runQueueSceneInit: 1448 if self.state is runQueueSceneInit:
1448 self.rqdata.init_progress_reporter.next_stage() 1449 self.rqdata.init_progress_reporter.next_stage()