summaryrefslogtreecommitdiffstats
path: root/bitbake
diff options
context:
space:
mode:
authorRichard Purdie <richard.purdie@linuxfoundation.org>2014-09-22 15:51:59 +0100
committerRichard Purdie <richard.purdie@linuxfoundation.org>2014-09-22 15:54:40 +0100
commitafdbe3112b940987f3f3cddcb32c91a5e17a297d (patch)
treec1b2431c79707d220b82e447c1a7de8e3273fc6b /bitbake
parentbff185f6252751a97dcdf7ddfe86b808a714fdc5 (diff)
downloadpoky-afdbe3112b940987f3f3cddcb32c91a5e17a297d.tar.gz
bitbake: bitbake-worker: Fix bitbake -n
Without this you see: File "bitbake/bin/bitbake-worker", line 201, in fork_off_task os._exit(child()) TypeError: an integer is required (Bitbake rev: cd477b5e77ab0373248b8a8fa30e1c7b8ea984fd) Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'bitbake')
-rwxr-xr-xbitbake/bin/bitbake-worker5
1 files changed, 3 insertions, 2 deletions
diff --git a/bitbake/bin/bitbake-worker b/bitbake/bin/bitbake-worker
index b2935f6ec0..dde2c9c8fc 100755
--- a/bitbake/bin/bitbake-worker
+++ b/bitbake/bin/bitbake-worker
@@ -193,8 +193,9 @@ def fork_off_task(cfg, data, workerdata, fn, task, taskname, appends, taskdepdat
193 logger.critical(str(exc)) 193 logger.critical(str(exc))
194 os._exit(1) 194 os._exit(1)
195 try: 195 try:
196 if not cfg.dry_run: 196 if cfg.dry_run:
197 return bb.build.exec_task(fn, taskname, the_data, cfg.profile) 197 return 0
198 return bb.build.exec_task(fn, taskname, the_data, cfg.profile)
198 except: 199 except:
199 os._exit(1) 200 os._exit(1)
200 if not profiling: 201 if not profiling: