summaryrefslogtreecommitdiffstats
path: root/bitbake/lib
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-02-15 12:12:37 +0000
commite36994f69a6780e4eb858262f16732d714c922f0 (patch)
tree821afdb35da66832e854fa310c065b80b50fa967 /bitbake/lib
parent86ac3b53b5ea9d74edab975adad9c831055da0ed (diff)
downloadpoky-e36994f69a6780e4eb858262f16732d714c922f0.tar.gz
bitbake: 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] (Bitbake rev: 0fa874dbe0532bbe88ade405f514a237e6cd2488) Signed-off-by: Robert Yang <liezhi.yang@windriver.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'bitbake/lib')
-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 a2983ca3a4..6834b83b24 100644
--- a/bitbake/lib/bb/ui/knotty.py
+++ b/bitbake/lib/bb/ui/knotty.py
@@ -453,7 +453,8 @@ def main(server, eventHandler, tf = TerminalFilter):
453 bb.runqueue.runQueueExitWait, 453 bb.runqueue.runQueueExitWait,
454 bb.event.OperationStarted, 454 bb.event.OperationStarted,
455 bb.event.OperationCompleted, 455 bb.event.OperationCompleted,
456 bb.event.OperationProgress)): 456 bb.event.OperationProgress,
457 bb.event.DiskFull)):
457 continue 458 continue
458 459
459 logger.error("Unknown event: %s", event) 460 logger.error("Unknown event: %s", event)