[1.2.1] Hob: Fix bug 2371
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
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
@@ -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
Richard Purdie
AppliedRe: [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]
Signed-off-by Dongxiao Xu <[email protected]>--- lib/bb/ui/crumbs/hobeventhandler.py | 2 ++ 1 files changed, 2 insertions(+), 0 deletions(-)
Merged to master, thanks.
Richard