diff options
Diffstat (limited to 'bitbake/lib/bb/ui/crumbs/hobeventhandler.py')
-rw-r--r-- | bitbake/lib/bb/ui/crumbs/hobeventhandler.py | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/bitbake/lib/bb/ui/crumbs/hobeventhandler.py b/bitbake/lib/bb/ui/crumbs/hobeventhandler.py index 7303ff8df1..b34bdbefd4 100644 --- a/bitbake/lib/bb/ui/crumbs/hobeventhandler.py +++ b/bitbake/lib/bb/ui/crumbs/hobeventhandler.py | |||
@@ -57,6 +57,12 @@ class HobHandler(gobject.GObject): | |||
57 | "parsing-completed" : (gobject.SIGNAL_RUN_LAST, | 57 | "parsing-completed" : (gobject.SIGNAL_RUN_LAST, |
58 | gobject.TYPE_NONE, | 58 | gobject.TYPE_NONE, |
59 | (gobject.TYPE_PYOBJECT,)), | 59 | (gobject.TYPE_PYOBJECT,)), |
60 | "recipe-populated" : (gobject.SIGNAL_RUN_LAST, | ||
61 | gobject.TYPE_NONE, | ||
62 | ()), | ||
63 | "package-populated" : (gobject.SIGNAL_RUN_LAST, | ||
64 | gobject.TYPE_NONE, | ||
65 | ()), | ||
60 | } | 66 | } |
61 | 67 | ||
62 | (GENERATE_CONFIGURATION, GENERATE_RECIPES, GENERATE_PACKAGES, GENERATE_IMAGE, POPULATE_PACKAGEINFO, SANITY_CHECK) = range(6) | 68 | (GENERATE_CONFIGURATION, GENERATE_RECIPES, GENERATE_PACKAGES, GENERATE_IMAGE, POPULATE_PACKAGEINFO, SANITY_CHECK) = range(6) |
@@ -158,6 +164,7 @@ class HobHandler(gobject.GObject): | |||
158 | 164 | ||
159 | if isinstance(event, bb.event.PackageInfo): | 165 | if isinstance(event, bb.event.PackageInfo): |
160 | self.package_model.populate(event._pkginfolist) | 166 | self.package_model.populate(event._pkginfolist) |
167 | self.emit("package-populated") | ||
161 | self.run_next_command() | 168 | self.run_next_command() |
162 | 169 | ||
163 | elif isinstance(event, bb.event.SanityCheckPassed): | 170 | elif isinstance(event, bb.event.SanityCheckPassed): |
@@ -171,6 +178,7 @@ class HobHandler(gobject.GObject): | |||
171 | self.current_phase = "data generation" | 178 | self.current_phase = "data generation" |
172 | if event._model: | 179 | if event._model: |
173 | self.recipe_model.populate(event._model) | 180 | self.recipe_model.populate(event._model) |
181 | self.emit("recipe-populated") | ||
174 | elif isinstance(event, bb.event.ConfigFilesFound): | 182 | elif isinstance(event, bb.event.ConfigFilesFound): |
175 | self.current_phase = "configuration lookup" | 183 | self.current_phase = "configuration lookup" |
176 | var = event._variable | 184 | var = event._variable |