mirror of
https://git.yoctoproject.org/poky
synced 2026-05-31 00:39:46 +00:00
bitbake: runqueue: fix two minor issues with the initialising tasks progress
A couple of fixes for the "Initialising tasks" progress bar behaviour: * Properly finish the progress bar when using bitbake -S * Finish the progress bar before calling BB_HASHCHECK_FUNCTION (so that in OE when that shows its own "Checking sstate mirror object availability" progress bar it gets shown on the next line as it should). (Bitbake rev: de6759d8e9990e426e6d6464a2e05381cd4c12d6) Signed-off-by: Paul Eggleton <paul.eggleton@linux.intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
This commit is contained in:
committed by
Richard Purdie
parent
407ba77fe2
commit
1b6f701cd9
@@ -1148,6 +1148,7 @@ class RunQueue:
|
|||||||
if self.state is runQueueSceneInit:
|
if self.state is runQueueSceneInit:
|
||||||
dump = self.cooker.configuration.dump_signatures
|
dump = self.cooker.configuration.dump_signatures
|
||||||
if dump:
|
if dump:
|
||||||
|
self.rqdata.init_progress_reporter.finish()
|
||||||
if 'printdiff' in dump:
|
if 'printdiff' in dump:
|
||||||
invalidtasks = self.print_diffscenetasks()
|
invalidtasks = self.print_diffscenetasks()
|
||||||
self.dump_signatures(dump)
|
self.dump_signatures(dump)
|
||||||
@@ -1967,6 +1968,8 @@ class RunQueueExecuteScenequeue(RunQueueExecute):
|
|||||||
if len(self.sq_revdeps[tid]) == 0:
|
if len(self.sq_revdeps[tid]) == 0:
|
||||||
self.runq_buildable.add(tid)
|
self.runq_buildable.add(tid)
|
||||||
|
|
||||||
|
self.rqdata.init_progress_reporter.finish()
|
||||||
|
|
||||||
self.outrightfail = []
|
self.outrightfail = []
|
||||||
if self.rq.hashvalidate:
|
if self.rq.hashvalidate:
|
||||||
sq_hash = []
|
sq_hash = []
|
||||||
@@ -2018,8 +2021,6 @@ class RunQueueExecuteScenequeue(RunQueueExecute):
|
|||||||
logger.debug(2, 'No package found, so skipping setscene task %s', tid)
|
logger.debug(2, 'No package found, so skipping setscene task %s', tid)
|
||||||
self.outrightfail.append(tid)
|
self.outrightfail.append(tid)
|
||||||
|
|
||||||
self.rqdata.init_progress_reporter.finish()
|
|
||||||
|
|
||||||
logger.info('Executing SetScene Tasks')
|
logger.info('Executing SetScene Tasks')
|
||||||
|
|
||||||
self.rq.state = runQueueSceneRun
|
self.rq.state = runQueueSceneRun
|
||||||
|
|||||||
Reference in New Issue
Block a user