mirror of
https://git.yoctoproject.org/poky
synced 2026-06-02 01:19:52 +00:00
bitbake/runqueue: Ensure finish_now() sets the runqueue state consistently
If we call finish_now(True), rq.state is not updated to match. This makes the behaviour of finish_now(False) and finish_now(True) consistent so both leave rq.state consistently. (Bitbake rev: 9079ae0ab74f9232b7e9853b2013b051d4fcf623) Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
This commit is contained in:
@@ -1060,6 +1060,13 @@ class RunQueueExecute:
|
|||||||
for pipe in self.build_pipes:
|
for pipe in self.build_pipes:
|
||||||
self.build_pipes[pipe].read()
|
self.build_pipes[pipe].read()
|
||||||
|
|
||||||
|
if len(self.failed_fnids) != 0:
|
||||||
|
self.rq.state = runQueueFailed
|
||||||
|
return
|
||||||
|
|
||||||
|
self.rq.state = runQueueComplete
|
||||||
|
return
|
||||||
|
|
||||||
def finish(self):
|
def finish(self):
|
||||||
self.rq.state = runQueueCleanUp
|
self.rq.state = runQueueCleanUp
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user