summaryrefslogtreecommitdiffstats
path: root/bitbake/bin/bitbake
diff options
context:
space:
mode:
authorRichard Purdie <rpurdie@linux.intel.com>2010-11-13 21:23:54 +0800
committerRichard Purdie <rpurdie@linux.intel.com>2010-11-13 21:23:54 +0800
commit05ba6fc7cb5a389737a238f312f4148e6b837d71 (patch)
tree7b0d8688095f94fd2010c63f0b0aadff301eccbf /bitbake/bin/bitbake
parent89929e1f283c8508c505c9731ad933880abf22a1 (diff)
downloadpoky-05ba6fc7cb5a389737a238f312f4148e6b837d71.tar.gz
bitbake: Rewrite profiling code so its functional for both none and xmlrpc backends
Signed-off-by: Richard Purdie <rpurdie@linux.intel.com>
Diffstat (limited to 'bitbake/bin/bitbake')
-rwxr-xr-xbitbake/bin/bitbake4
1 files changed, 2 insertions, 2 deletions
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.""")
180 180
181 serverinfo = server.BitbakeServerInfo(cooker.server) 181 serverinfo = server.BitbakeServerInfo(cooker.server)
182 182
183 server.BitBakeServerFork(serverinfo, cooker.serve, cooker_logfile) 183 server.BitBakeServerFork(cooker, cooker.server, serverinfo, cooker_logfile)
184 del cooker 184 del cooker
185 185
186 # Setup a connection to the server (cooker) 186 # Setup a connection to the server (cooker)
@@ -203,7 +203,7 @@ Default BBFILES are the .bb files in the current directory.""")
203 print("Valid interfaces are 'ncurses', 'depexp' or the default, 'knotty'.") 203 print("Valid interfaces are 'ncurses', 'depexp' or the default, 'knotty'.")
204 else: 204 else:
205 try: 205 try:
206 return_value = ui_init(serverConnection.connection, serverConnection.events) 206 return_value = server.BitbakeUILauch().launch(serverinfo, ui_init, serverConnection.connection, serverConnection.events)
207 except Exception as e: 207 except Exception as e:
208 print("FATAL: Unable to start to '%s' UI: %s" % (ui, e)) 208 print("FATAL: Unable to start to '%s' UI: %s" % (ui, e))
209 raise 209 raise