summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorRobert Yang <liezhi.yang@windriver.com>2013-02-01 16:56:45 +0800
committerRichard Purdie <richard.purdie@linuxfoundation.org>2013-03-04 10:17:01 +0000
commit571d88c10dee674a27d39db81bc245425fe2b27e (patch)
treec4cf617422ab4083c151b608de3a16900d60bea5
parent5aa75f8090c04a9ab479e4dca77fcbb9b41cf463 (diff)
downloadbitbake-571d88c10dee674a27d39db81bc245425fe2b27e.tar.gz
knotty.py: fix unknown event bb.event.DiskFull
There is an error: ERROR: No new tasks can be excuted since the disk space monitor action is "STOPTASKS"! ERROR: Unknown event: <bb.event.DiskFull object at 0x2ab6310> This is because we don't handle the event bb.event.DiskFull in knotty.py, we don't want the knotty to do anything here since we have done everything in monitordisk.py, so just ignore this event would fix the problem. [YOCTO #3523] Signed-off-by: Robert Yang <liezhi.yang@windriver.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
-rw-r--r--lib/bb/ui/knotty.py3
1 files changed, 2 insertions, 1 deletions
diff --git a/lib/bb/ui/knotty.py b/lib/bb/ui/knotty.py
index 8c63d74d9..82111a110 100644
--- a/lib/bb/ui/knotty.py
+++ b/lib/bb/ui/knotty.py
@@ -449,7 +449,8 @@ def main(server, eventHandler, tf = TerminalFilter):
bb.runqueue.runQueueExitWait,
bb.event.OperationStarted,
bb.event.OperationCompleted,
- bb.event.OperationProgress)):
+ bb.event.OperationProgress,
+ bb.event.DiskFull)):
continue
logger.error("Unknown event: %s", event)