[oe-commits] [bitbake] 08/12: runqueue: fix two minor issues with the initialising tasks progress
git at git.openembedded.org
git at git.openembedded.org
Tue Aug 16 19:53:59 UTC 2016
rpurdie pushed a commit to branch master-next
in repository bitbake.
commit 21ed5c1eb377799ef618160c5afbda46f18e0637
Author: Paul Eggleton <paul.eggleton at linux.intel.com>
AuthorDate: Thu Aug 11 15:36:57 2016 +1200
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 at linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie at linuxfoundation.org>
---
lib/bb/runqueue.py | 5 +++--
1 file changed, 3 insertions(+), 2 deletions(-)
diff --git a/lib/bb/runqueue.py b/lib/bb/runqueue.py
index b4f7e49..6a953b8 100644
--- a/lib/bb/runqueue.py
+++ b/lib/bb/runqueue.py
@@ -1152,6 +1152,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)
@@ -1978,6 +1979,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 = []
@@ -2029,8 +2032,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
--
To stop receiving notification emails like this one, please contact
the administrator of this repository.
More information about the Openembedded-commits
mailing list