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:22:58 +0100 |
commit | 1b6f701cd9e7f4ea6c2ee960d0749c5f6c8a683f (patch) | |
tree | 0c5bf2deb963da06e1287d20ce91435fb75a6b3a /bitbake/lib/bb/runqueue.py | |
parent | 407ba77fe2e2726db0525d84961df7d7f726446c (diff) | |
download | poky-1b6f701cd9e7f4ea6c2ee960d0749c5f6c8a683f.tar.gz |
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>
Diffstat (limited to 'bitbake/lib/bb/runqueue.py')
-rw-r--r-- | bitbake/lib/bb/runqueue.py | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/bitbake/lib/bb/runqueue.py b/bitbake/lib/bb/runqueue.py index aa939d0443..3a593b6c4b 100644 --- a/bitbake/lib/bb/runqueue.py +++ b/bitbake/lib/bb/runqueue.py | |||
@@ -1148,6 +1148,7 @@ class RunQueue: | |||
1148 | if self.state is runQueueSceneInit: | 1148 | if self.state is runQueueSceneInit: |
1149 | dump = self.cooker.configuration.dump_signatures | 1149 | dump = self.cooker.configuration.dump_signatures |
1150 | if dump: | 1150 | if dump: |
1151 | self.rqdata.init_progress_reporter.finish() | ||
1151 | if 'printdiff' in dump: | 1152 | if 'printdiff' in dump: |
1152 | invalidtasks = self.print_diffscenetasks() | 1153 | invalidtasks = self.print_diffscenetasks() |
1153 | self.dump_signatures(dump) | 1154 | self.dump_signatures(dump) |
@@ -1967,6 +1968,8 @@ class RunQueueExecuteScenequeue(RunQueueExecute): | |||
1967 | if len(self.sq_revdeps[tid]) == 0: | 1968 | if len(self.sq_revdeps[tid]) == 0: |
1968 | self.runq_buildable.add(tid) | 1969 | self.runq_buildable.add(tid) |
1969 | 1970 | ||
1971 | self.rqdata.init_progress_reporter.finish() | ||
1972 | |||
1970 | self.outrightfail = [] | 1973 | self.outrightfail = [] |
1971 | if self.rq.hashvalidate: | 1974 | if self.rq.hashvalidate: |
1972 | sq_hash = [] | 1975 | sq_hash = [] |
@@ -2018,8 +2021,6 @@ class RunQueueExecuteScenequeue(RunQueueExecute): | |||
2018 | logger.debug(2, 'No package found, so skipping setscene task %s', tid) | 2021 | logger.debug(2, 'No package found, so skipping setscene task %s', tid) |
2019 | self.outrightfail.append(tid) | 2022 | self.outrightfail.append(tid) |
2020 | 2023 | ||
2021 | self.rqdata.init_progress_reporter.finish() | ||
2022 | |||
2023 | logger.info('Executing SetScene Tasks') | 2024 | logger.info('Executing SetScene Tasks') |
2024 | 2025 | ||
2025 | self.rq.state = runQueueSceneRun | 2026 | self.rq.state = runQueueSceneRun |