From: Richard Purdie Date: Fri, 4 Oct 2013 13:17:45 +0000 (+0100) Subject: bin/bitbake: Clear ui-queue when starting a server X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=a886cda58415085981646fb9a024fa7641f55865;p=thirdparty%2Fopenembedded%2Fopenembedded-core-contrib.git bin/bitbake: Clear ui-queue when starting a server 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 --- diff --git a/bin/bitbake b/bin/bitbake index 4d93a35cdc1..920c6c4fc62 100755 --- a/bin/bitbake +++ b/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)