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-07 22:31:08 +0100
commitf43b8f2f77bb6fbedbabfa40ddfd29b8f8891273 (patch)
tree0f2a00510045a14045964b5ea17819e9ec2126fd /bitbake/lib/bb/runqueue.py
parent5a7800cfe9de543340d05392a7bcbf4afa009d63 (diff)
downloadpoky-f43b8f2f77bb6fbedbabfa40ddfd29b8f8891273.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