summaryrefslogtreecommitdiffstats
path: root/bitbake-dev/bin/bitbake
diff options
context:
space:
mode:
Diffstat (limited to 'bitbake-dev/bin/bitbake')
-rwxr-xr-xbitbake-dev/bin/bitbake14
1 files changed, 9 insertions, 5 deletions
diff --git a/bitbake-dev/bin/bitbake b/bitbake-dev/bin/bitbake
index 34c49b8c58..cabdf2b452 100755
--- a/bitbake-dev/bin/bitbake
+++ b/bitbake-dev/bin/bitbake
@@ -144,7 +144,11 @@ Default BBFILES are the .bb files in the current directory.""" )
144 configuration.pkgs_to_build = [] 144 configuration.pkgs_to_build = []
145 configuration.pkgs_to_build.extend(args[1:]) 145 configuration.pkgs_to_build.extend(args[1:])
146 146
147 cooker = bb.cooker.BBCooker(configuration) 147 # Save a logfile for cooker into the current working directory. When the
148 # server is daemonized this logfile will be truncated.
149 cooker_logfile = os.path.join (os.getcwd(), "cooker.log")
150
151 cooker = bb.cooker.BBCooker(configuration, bb.server.xmlrpc)
148 152
149 # Clear away any spurious environment variables. But don't wipe the 153 # Clear away any spurious environment variables. But don't wipe the
150 # environment totally. This is necessary to ensure the correct operation 154 # environment totally. This is necessary to ensure the correct operation
@@ -152,13 +156,13 @@ Default BBFILES are the .bb files in the current directory.""" )
152 bb.utils.clean_environment() 156 bb.utils.clean_environment()
153 157
154 cooker.parseCommandLine() 158 cooker.parseCommandLine()
159
160
161
162
155 host = cooker.server.host 163 host = cooker.server.host
156 port = cooker.server.port 164 port = cooker.server.port
157 165
158 # Save a logfile for cooker into the current working directory. When the
159 # server is daemonized this logfile will be truncated.
160 cooker_logfile = os.path.join (os.getcwd(), "cooker.log")
161
162 daemonize.createDaemon(cooker.serve, cooker_logfile) 166 daemonize.createDaemon(cooker.serve, cooker_logfile)
163 del cooker 167 del cooker
164 168