Skip to contentSkip to conversation

[1.2.1] Hob: Fix bug 2371

GIT PULL Applied Dongxiao Xu 2 participants 3 messages May 7, 2012

lore
Share & tools
lore
#0 lore raw

Hi Richard and Scott,

This pull request is to fix yocto bug 2371. Both for upstream and 1.2.1 branch. Please help to review and pull.

Thanks,
Dongxiao

The following changes since commit ac9f8536bdae2f6bf6ef1c4b8e98c590842be40b:

bitbake/tests: Add missing __init__.py file (2012-05-04 17:42:28 +0100)

are available in the git repository at:
git://git.pokylinux.org/poky-contrib dxu4/hob-bugfix
http://git.pokylinux.org/cgit.cgi/poky-contrib/log/?h=dxu4/hob-bugfix

Dongxiao Xu (1):
Hob: Clear the building status if command failed

 lib/bb/ui/crumbs/hobeventhandler.py |    2 ++
 1 files changed, 2 insertions(+), 0 deletions(-)
Signature · 1 line
1.7.4.1
#1 lore raw

PATCH 1/1 Hob: Clear the building status if command failed

We may meet certain command failure during build time, for example, out of memory. In this case, we need to clear the "building" status.

This fixes [YOCTO #2371]

---
 lib/bb/ui/crumbs/hobeventhandler.py |    2 ++
 1 files changed, 2 insertions(+), 0 deletions(-)
lib/bb/ui/crumbs/hobeventhandler.py +2 -0
index a07afdd..624d7b5 100644
@@ -199,6 +199,8 @@ class HobHandler(gobject.GObject):
             self.clear_busy()
             self.emit("command-failed", self.error_msg)
             self.error_msg = ""
+            if self.building:
+                self.building = False
         elif isinstance(event, (bb.event.ParseStarted,
                  bb.event.CacheLoadStarted,
                  bb.event.TreeDataPreparationStarted,
Signature · 1 line
1.7.4.1
#2 lore raw

Re: [PATCH 1/1] Hob: Clear the building status if command failed

Quoted 9 lines · Dongxiao Xu

We may meet certain command failure during build time, for example, out of memory. In this case, we need to clear the "building" status.

This fixes [YOCTO #2371]

---
 lib/bb/ui/crumbs/hobeventhandler.py |    2 ++
 1 files changed, 2 insertions(+), 0 deletions(-)

Merged to master, thanks.

Richard