From 05ba6fc7cb5a389737a238f312f4148e6b837d71 Mon Sep 17 00:00:00 2001 From: Richard Purdie Date: Sat, 13 Nov 2010 21:23:54 +0800 Subject: bitbake: Rewrite profiling code so its functional for both none and xmlrpc backends Signed-off-by: Richard Purdie --- bitbake/bin/bitbake | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'bitbake/bin/bitbake') diff --git a/bitbake/bin/bitbake b/bitbake/bin/bitbake index b046156b49..797b5a8d60 100755 --- a/bitbake/bin/bitbake +++ b/bitbake/bin/bitbake @@ -180,7 +180,7 @@ Default BBFILES are the .bb files in the current directory.""") serverinfo = server.BitbakeServerInfo(cooker.server) - server.BitBakeServerFork(serverinfo, cooker.serve, cooker_logfile) + server.BitBakeServerFork(cooker, cooker.server, serverinfo, cooker_logfile) del cooker # Setup a connection to the server (cooker) @@ -203,7 +203,7 @@ Default BBFILES are the .bb files in the current directory.""") print("Valid interfaces are 'ncurses', 'depexp' or the default, 'knotty'.") else: try: - return_value = ui_init(serverConnection.connection, serverConnection.events) + return_value = server.BitbakeUILauch().launch(serverinfo, ui_init, serverConnection.connection, serverConnection.events) except Exception as e: print("FATAL: Unable to start to '%s' UI: %s" % (ui, e)) raise -- cgit v1.2.3-54-g00ecf