All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH] bin/bitbake: Clear ui-queue when starting a server
@ 2013-10-04 13:17 Richard Purdie
  0 siblings, 0 replies; only message in thread
From: Richard Purdie @ 2013-10-04 13:17 UTC (permalink / raw)
  To: bitbake-devel

When starting a server we don't want to show the debug event queue which
is reserved for when when errors have occurred. This patch copies the UI
code to ensure the user doesn't see confusing output.

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
---
diff --git a/bitbake/bin/bitbake b/bitbake/bin/bitbake
index 4d93a35..920c6c4 100755
--- a/bitbake/bin/bitbake
+++ b/bitbake/bin/bitbake
@@ -292,6 +292,7 @@ def main():
     if not configParams.remote_server:
         # we start a server with a given configuration
         server = start_server(servermodule, configParams, configuration)
+        bb.event.ui_queue = []
     else:
         # we start a stub server that is actually a XMLRPClient that connects to a real server
         server = servermodule.BitBakeXMLRPCClient(configParams.observe_only)




^ permalink raw reply related	[flat|nested] only message in thread

only message in thread, other threads:[~2013-10-04 13:17 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2013-10-04 13:17 [PATCH] bin/bitbake: Clear ui-queue when starting a server Richard Purdie

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.