summaryrefslogtreecommitdiffstats
path: root/bitbake/bin
diff options
context:
space:
mode:
authorRichard Purdie <richard.purdie@linuxfoundation.org>2012-10-30 17:20:55 +0000
committerRichard Purdie <richard.purdie@linuxfoundation.org>2012-11-01 11:46:21 +0000
commite450b10c4ca4a8c32bbe2f77872f84993426fef4 (patch)
tree1e1e4aa43de62ce18e864c707179095b119d6899 /bitbake/bin
parentf5acdd87bd45db9971db1af14e26751f8a3f3792 (diff)
downloadpoky-e450b10c4ca4a8c32bbe2f77872f84993426fef4.tar.gz
bitbake: bitbake/server: Remove dead console log code
This code is dead and doesn't do anything so lets remove it. (Bitbake rev: 8d45739f49618757a5d7d79782deda355e3981ec) Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'bitbake/bin')
-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