| Submitter | Robert Yang |
|---|---|
| Date | Feb. 26, 2012, 8:48 a.m. |
| Message ID | <e614d45f3058a2eb2c49077b4d8d5a3d27a9a32a.1330245845.git.liezhi.yang@windriver.com> |
| Download | mbox | patch |
| Permalink | /patch/22081/ |
| State | New |
| Headers | show |
Comments
Patch
diff --git a/bitbake/lib/bb/runqueue.py b/bitbake/lib/bb/runqueue.py index 1959007..1c3187d 100644 --- a/bitbake/lib/bb/runqueue.py +++ b/bitbake/lib/bb/runqueue.py @@ -1060,6 +1060,13 @@ class RunQueueExecute: for pipe in self.build_pipes: self.build_pipes[pipe].read() + if len(self.failed_fnids) != 0: + self.rq.state = runQueueFailed + return + + self.rq.state = runQueueComplete + return + def finish(self): self.rq.state = runQueueCleanUp
This patch comes from Richard, the finish_now did nothing when no running tasks in the past, it should always stop the runqueue, fix it now. [YOCTO #1589] Signed-off-by: Robert Yang <liezhi.yang@windriver.com> --- bitbake/lib/bb/runqueue.py | 7 +++++++ 1 files changed, 7 insertions(+), 0 deletions(-)