summaryrefslogtreecommitdiffstats
path: root/bitbake/bin/bitbake
diff options
context:
space:
mode:
Diffstat (limited to 'bitbake/bin/bitbake')
-rwxr-xr-xbitbake/bin/bitbake6
1 files changed, 1 insertions, 5 deletions
diff --git a/bitbake/bin/bitbake b/bitbake/bin/bitbake
index cb5d84adbe..70099e4292 100755
--- a/bitbake/bin/bitbake
+++ b/bitbake/bin/bitbake
@@ -214,10 +214,6 @@ Default BBFILES are the .bb files in the current directory.""")
214 if configuration.bind and configuration.servertype != "xmlrpc": 214 if configuration.bind and configuration.servertype != "xmlrpc":
215 sys.exit("FATAL: If '-B' or '--bind' is defined, we must set the servertype as 'xmlrpc'.\n") 215 sys.exit("FATAL: If '-B' or '--bind' is defined, we must set the servertype as 'xmlrpc'.\n")
216 216
217 # Save a logfile for cooker into the current working directory. When the
218 # server is daemonized this logfile will be truncated.
219 cooker_logfile = os.path.join(os.getcwd(), "cooker.log")
220
221 bb.msg.init_msgconfig(configuration.verbose, configuration.debug, 217 bb.msg.init_msgconfig(configuration.verbose, configuration.debug,
222 configuration.debug_domains) 218 configuration.debug_domains)
223 219
@@ -246,7 +242,7 @@ Default BBFILES are the .bb files in the current directory.""")
246 242
247 server.addcooker(cooker) 243 server.addcooker(cooker)
248 server.saveConnectionDetails() 244 server.saveConnectionDetails()
249 server.detach(cooker_logfile) 245 server.detach()
250 246
251 # Should no longer need to ever reference cooker 247 # Should no longer need to ever reference cooker
252 del cooker 248 del cooker