summaryrefslogtreecommitdiffstats
path: root/bitbake-dev/bin/bitbake
diff options
context:
space:
mode:
authorRichard Purdie <rpurdie@linux.intel.com>2010-01-14 17:36:31 +0000
committerRichard Purdie <rpurdie@linux.intel.com>2010-01-14 23:29:31 +0000
commitf00e5cf964d0ea48d517f0b8f9ca2aba646ea807 (patch)
treec2bc884ee3192895549745326c2752fe7200a206 /bitbake-dev/bin/bitbake
parenta7740492afa04d9a1bdcb907df91900d251fa29f (diff)
downloadpoky-f00e5cf964d0ea48d517f0b8f9ca2aba646ea807.tar.gz
bitbake-dev: Sync with upstream
Signed-off-by: Richard Purdie <rpurdie@linux.intel.com>
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