summaryrefslogtreecommitdiffstats
path: root/bitbake/lib/bb/runqueue.py
diff options
context:
space:
mode:
authorPeter Kjellerstedt <peter.kjellerstedt@axis.com>2025-09-27 07:53:39 +0200
committerRichard Purdie <richard.purdie@linuxfoundation.org>2025-10-04 15:16:03 +0100
commit8ec1fc313d4d71cd6b3776118d8862084c70fe6a (patch)
tree42abe25830886f3e008e3e7b80e7af6d6ea8e1e5 /bitbake/lib/bb/runqueue.py
parentc43db5d9a2b5cfb3c263470cd3f35445961fa041 (diff)
downloadpoky-8ec1fc313d4d71cd6b3776118d8862084c70fe6a.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>
Diffstat (limited to 'bitbake/lib/bb/runqueue.py')
-rw-r--r--bitbake/lib/bb/runqueue.py5
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