diff options
| author | Peter Kjellerstedt <peter.kjellerstedt@axis.com> | 2025-09-27 07:53:39 +0200 |
|---|---|---|
| committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2025-10-04 11:16:44 +0100 |
| commit | 6d5270693f5f275a3c1293fa44c46d03de7caa0b (patch) | |
| tree | 42abe25830886f3e008e3e7b80e7af6d6ea8e1e5 | |
| parent | acdc80559ac04ff96d72110f59f1b5fb04aa7765 (diff) | |
| download | poky-6d5270693f5f275a3c1293fa44c46d03de7caa0b.tar.gz | |
bitbake: runqueue: Make the "Initialising tasks" progress bar finish properly
The "Initialising tasks" progress bar needs to be finished before
update_scenequeue_data() creates another progress bar.
(Bitbake rev: 620d53d7b61fbe98547047b07cb69e98afeb3fc5)
Signed-off-by: Peter Kjellerstedt <peter.kjellerstedt@axis.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
| -rw-r--r-- | bitbake/lib/bb/runqueue.py | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/bitbake/lib/bb/runqueue.py b/bitbake/lib/bb/runqueue.py index 63d4edd892..96d70080d3 100644 --- a/bitbake/lib/bb/runqueue.py +++ b/bitbake/lib/bb/runqueue.py | |||
| @@ -1610,7 +1610,6 @@ class RunQueue: | |||
| 1610 | 1610 | ||
| 1611 | if self.state == RunQueueState.SCENE_INIT: | 1611 | if self.state == RunQueueState.SCENE_INIT: |
| 1612 | self.start_worker(self.rqexe) | 1612 | self.start_worker(self.rqexe) |
| 1613 | self.rqdata.init_progress_reporter.finish() | ||
| 1614 | 1613 | ||
| 1615 | # If we don't have any setscene functions, skip execution | 1614 | # If we don't have any setscene functions, skip execution |
| 1616 | if not self.rqdata.runq_setscene_tids: | 1615 | if not self.rqdata.runq_setscene_tids: |
| @@ -1948,6 +1947,10 @@ class RunQueueExecute: | |||
| 1948 | self.sqdata = SQData() | 1947 | self.sqdata = SQData() |
| 1949 | build_scenequeue_data(self.sqdata, self.rqdata, self) | 1948 | build_scenequeue_data(self.sqdata, self.rqdata, self) |
| 1950 | 1949 | ||
| 1950 | # Finish the "Initialising tasks" progress bar before | ||
| 1951 | # update_scenequeue_data() creates another one. | ||
| 1952 | self.rqdata.init_progress_reporter.finish() | ||
| 1953 | |||
| 1951 | update_scenequeue_data(self.sqdata.sq_revdeps, self.sqdata, self.rqdata, self.rq, self.cooker, self.stampcache, self, summary=True) | 1954 | update_scenequeue_data(self.sqdata.sq_revdeps, self.sqdata, self.rqdata, self.rq, self.cooker, self.stampcache, self, summary=True) |
| 1952 | 1955 | ||
| 1953 | # Compute a list of 'stale' sstate tasks where the current hash does not match the one | 1956 | # Compute a list of 'stale' sstate tasks where the current hash does not match the one |
