summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rwxr-xr-xbitbake/lib/bb/ui/hob.py15
1 files changed, 15 insertions, 0 deletions
diff --git a/bitbake/lib/bb/ui/hob.py b/bitbake/lib/bb/ui/hob.py
index 2c75cb8fd1..bc5ee1434a 100755
--- a/bitbake/lib/bb/ui/hob.py
+++ b/bitbake/lib/bb/ui/hob.py
@@ -58,6 +58,19 @@ def event_handle_idle_func(eventHandler, hobHandler):
58 event = eventHandler.getEvent() 58 event = eventHandler.getEvent()
59 return True 59 return True
60 60
61_evt_list = [ "bb.runqueue.runQueueExitWait", "bb.event.LogExecTTY", "logging.LogRecord",
62 "bb.build.TaskFailed", "bb.build.TaskBase", "bb.event.ParseStarted",
63 "bb.event.ParseProgress", "bb.event.ParseCompleted", "bb.event.CacheLoadStarted",
64 "bb.event.CacheLoadProgress", "bb.event.CacheLoadCompleted", "bb.command.CommandFailed",
65 "bb.command.CommandExit", "bb.command.CommandCompleted", "bb.cooker.CookerExit",
66 "bb.event.MultipleProviders", "bb.event.NoProvider", "bb.runqueue.sceneQueueTaskStarted",
67 "bb.runqueue.runQueueTaskStarted", "bb.runqueue.runQueueTaskFailed", "bb.runqueue.sceneQueueTaskFailed",
68 "bb.event.BuildBase", "bb.build.TaskStarted", "bb.build.TaskSucceeded", "bb.build.TaskFailedSilent",
69 "bb.event.SanityCheckPassed", "bb.event.SanityCheckFailed", "bb.event.PackageInfo",
70 "bb.event.TargetsTreeGenerated", "bb.event.ConfigFilesFound", "bb.event.ConfigFilePathFound",
71 "bb.event.FilesMatchingFound", "bb.event.NetworkTestFailed", "bb.event.NetworkTestPassed",
72 "bb.event.BuildStarted", "bb.event.BuildCompleted", "bb.event.DiskFull"]
73
61def main (server, eventHandler, params): 74def main (server, eventHandler, params):
62 params.updateFromServer(server) 75 params.updateFromServer(server)
63 gobject.threads_init() 76 gobject.threads_init()
@@ -68,6 +81,8 @@ def main (server, eventHandler, params):
68 recipe_model = RecipeListModel() 81 recipe_model = RecipeListModel()
69 package_model = PackageListModel() 82 package_model = PackageListModel()
70 83
84 llevel, debug_domains = bb.msg.constructLogOptions()
85 server.runCommand(["setEventMask", server.getEventHandle(), llevel, debug_domains, _evt_list])
71 hobHandler = HobHandler(server, recipe_model, package_model) 86 hobHandler = HobHandler(server, recipe_model, package_model)
72 builder = Builder(hobHandler, recipe_model, package_model) 87 builder = Builder(hobHandler, recipe_model, package_model)
73 88