diff options
author | Paul Eggleton <paul.eggleton@linux.intel.com> | 2016-08-11 15:36:57 +1200 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2016-08-17 10:20:32 +0100 |
commit | de6759d8e9990e426e6d6464a2e05381cd4c12d6 (patch) | |
tree | 1e7409ed16315cf14c64e7049f9ec7b20f969726 /lib/bb/runqueue.py | |
parent | 4b50895fb3462b21e3874a2e99c363c8d05e89e6 (diff) | |
download | bitbake-contrib-de6759d8e9990e426e6d6464a2e05381cd4c12d6.tar.gz |
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).
Signed-off-by: Paul Eggleton <paul.eggleton@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'lib/bb/runqueue.py')
-rw-r--r-- | lib/bb/runqueue.py | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/lib/bb/runqueue.py b/lib/bb/runqueue.py index aa939d044..3a593b6c4 100644 --- a/lib/bb/runqueue.py +++ b/lib/bb/runqueue.py @@ -1148,6 +1148,7 @@ class RunQueue: if self.state is runQueueSceneInit: dump = self.cooker.configuration.dump_signatures if dump: + self.rqdata.init_progress_reporter.finish() if 'printdiff' in dump: invalidtasks = self.print_diffscenetasks() self.dump_signatures(dump) @@ -1967,6 +1968,8 @@ class RunQueueExecuteScenequeue(RunQueueExecute): if len(self.sq_revdeps[tid]) == 0: self.runq_buildable.add(tid) + self.rqdata.init_progress_reporter.finish() + self.outrightfail = [] if self.rq.hashvalidate: sq_hash = [] @@ -2018,8 +2021,6 @@ class RunQueueExecuteScenequeue(RunQueueExecute): logger.debug(2, 'No package found, so skipping setscene task %s', tid) self.outrightfail.append(tid) - self.rqdata.init_progress_reporter.finish() - logger.info('Executing SetScene Tasks') self.rq.state = runQueueSceneRun |