summaryrefslogtreecommitdiffstats
path: root/bitbake/lib/bb/ui/crumbs/hobeventhandler.py
diff options
context:
space:
mode:
authorDongxiao Xu <dongxiao.xu@intel.com>2012-04-15 15:26:37 +0800
committerRichard Purdie <richard.purdie@linuxfoundation.org>2012-04-15 17:31:57 +0100
commit74211e0372da92bd6b8600bee9e5624f044127a6 (patch)
tree79526597accae1f9c046d51f6d7c1f8c9427afdb /bitbake/lib/bb/ui/crumbs/hobeventhandler.py
parenta5210e47b08e0ee42e9e188d83953203147a994d (diff)
downloadpoky-74211e0372da92bd6b8600bee9e5624f044127a6.tar.gz
Hob: Handle NoProvider event in runningbuild module
If NoProvider event is received, we will handle it in runningbuild module and send notification to Hob instance, avoiding stepping into the final page with no image built out. This fixes [YOCTO #2249] (Bitbake rev: 067bc46a0fbc542fef1fcaa406ad3737a4c5a55a) Signed-off-by: Dongxiao Xu <dongxiao.xu@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'bitbake/lib/bb/ui/crumbs/hobeventhandler.py')
-rw-r--r--bitbake/lib/bb/ui/crumbs/hobeventhandler.py21
1 files changed, 0 insertions, 21 deletions
diff --git a/bitbake/lib/bb/ui/crumbs/hobeventhandler.py b/bitbake/lib/bb/ui/crumbs/hobeventhandler.py
index 7a3cc6b3f9..a61cca014b 100644
--- a/bitbake/lib/bb/ui/crumbs/hobeventhandler.py
+++ b/bitbake/lib/bb/ui/crumbs/hobeventhandler.py
@@ -180,27 +180,6 @@ class HobHandler(gobject.GObject):
180 elif isinstance(event, bb.command.CommandCompleted): 180 elif isinstance(event, bb.command.CommandCompleted):
181 self.current_phase = None 181 self.current_phase = None
182 self.run_next_command() 182 self.run_next_command()
183 # TODO: Currently there are NoProvider issues when generate
184 # universe tree dependency for non-x86 architecture.
185 # Comment the follow code to enable the build of non-x86
186 # architectures in Hob.
187 #elif isinstance(event, bb.event.NoProvider):
188 # if event._runtime:
189 # r = "R"
190 # else:
191 # r = ""
192 # if event._dependees:
193 # self.error_msg += " Nothing %sPROVIDES '%s' (but %s %sDEPENDS on or otherwise requires it)" % (r, event._item, ", ".join(event._dependees), r)
194 # else:
195 # self.error_msg += " Nothing %sPROVIDES '%s'" % (r, event._item)
196 # if event._reasons:
197 # for reason in event._reasons:
198 # self.error_msg += " %s" % reason
199
200 # self.commands_async = []
201 # self.emit("command-failed", self.error_msg)
202 # self.error_msg = ""
203
204 elif isinstance(event, bb.command.CommandFailed): 183 elif isinstance(event, bb.command.CommandFailed):
205 self.commands_async = [] 184 self.commands_async = []
206 self.clear_busy() 185 self.clear_busy()