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:20 +0000
commite89f812a0af56beda951c1dce6113a61d6db8cda (patch)
treec65a565ff6bc8b697b2763da4dfb83c8a0430413
parent2278a98429585cfcc630da73cc31b4d9c6d2aa14 (diff)
downloadpoky-danny-next.tar.gz
bitbake: knotty.py: fix unknown event bb.event.DiskFulldanny-next
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] (Bitbake rev: 571d88c10dee674a27d39db81bc245425fe2b27e) Signed-off-by: Robert Yang <liezhi.yang@windriver.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
-rw-r--r--bitbake/lib/bb/ui/knotty.py3
1 files changed, 2 insertions, 1 deletions
diff --git a/bitbake/lib/bb/ui/knotty.py b/bitbake/lib/bb/ui/knotty.py
index 8c63d74d9c..82111a1104 100644
--- a/bitbake/lib/bb/ui/knotty.py
+++ b/bitbake/lib/bb/ui/knotty.py
@@ -449,7 +449,8 @@ def main(server, eventHandler, tf = TerminalFilter):
449 bb.runqueue.runQueueExitWait, 449 bb.runqueue.runQueueExitWait,
450 bb.event.OperationStarted, 450 bb.event.OperationStarted,
451 bb.event.OperationCompleted, 451 bb.event.OperationCompleted,
452 bb.event.OperationProgress)): 452 bb.event.OperationProgress,
453 bb.event.DiskFull)):
453 continue 454 continue
454 455
455 logger.error("Unknown event: %s", event) 456 logger.error("Unknown event: %s", event)