[bitbake-devel] [PATCH 1/2] ui/crumbs/runningbuild: handle InvalidTask events
Joshua Lock
josh at linux.intel.com
Tue Dec 13 22:45:41 UTC 2011
The knotty UI just ignores these and so should RunningBuild, if these events
aren't handled the UI appears to hang.
Fixes [YOCTO #1665]
Signed-off-by: Joshua Lock <josh at linux.intel.com>
---
lib/bb/ui/crumbs/runningbuild.py | 4 ++++
1 files changed, 4 insertions(+), 0 deletions(-)
diff --git a/lib/bb/ui/crumbs/runningbuild.py b/lib/bb/ui/crumbs/runningbuild.py
index 509590a..4f609fc 100644
--- a/lib/bb/ui/crumbs/runningbuild.py
+++ b/lib/bb/ui/crumbs/runningbuild.py
@@ -179,6 +179,10 @@ class RunningBuild (gobject.GObject):
# that we need to attach to a task.
self.tasks_to_iter[(package, task)] = i
+ # If we don't handle these the GUI does not proceed
+ elif isinstance(event, bb.build.TaskInvalid):
+ return
+
elif isinstance(event, bb.build.TaskBase):
current = self.tasks_to_iter[(package, task)]
parent = self.tasks_to_iter[(package, None)]
--
1.7.7.4
More information about the bitbake-devel
mailing list