diff options
author | Richard Purdie <richard.purdie@linuxfoundation.org> | 2016-05-09 14:15:26 +0100 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2016-05-11 10:34:30 +0100 |
commit | cc2f1368dc9615669765f2852eac0da383401d49 (patch) | |
tree | 59a7ce77eff92b6d1b72b5365dd1d290a90703c8 /bitbake/lib/bb/runqueue.py | |
parent | 442acd2ea910609b4ad1d22a6522d3d9128c7100 (diff) | |
download | poky-cc2f1368dc9615669765f2852eac0da383401d49.tar.gz |
bitbake: runqueue: Fix missing fakeworker under dry run
We shouldn't try and use fakeworker when performing a dry_run. This
makes the core match the other fakeworker execution points.
(Bitbake rev: 49bea821a2edad5e19c3a566d1a80c23718dede9)
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'bitbake/lib/bb/runqueue.py')
-rw-r--r-- | bitbake/lib/bb/runqueue.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/bitbake/lib/bb/runqueue.py b/bitbake/lib/bb/runqueue.py index 1c60d97c7f..8b3fe5a957 100644 --- a/bitbake/lib/bb/runqueue.py +++ b/bitbake/lib/bb/runqueue.py | |||
@@ -2069,7 +2069,7 @@ class RunQueueExecuteScenequeue(RunQueueExecute): | |||
2069 | bb.event.fire(startevent, self.cfgData) | 2069 | bb.event.fire(startevent, self.cfgData) |
2070 | 2070 | ||
2071 | taskdep = self.rqdata.dataCache.task_deps[fn] | 2071 | taskdep = self.rqdata.dataCache.task_deps[fn] |
2072 | if 'fakeroot' in taskdep and taskname in taskdep['fakeroot']: | 2072 | if 'fakeroot' in taskdep and taskname in taskdep['fakeroot'] and not self.cooker.configuration.dry_run: |
2073 | if not self.rq.fakeworker: | 2073 | if not self.rq.fakeworker: |
2074 | self.rq.start_fakeworker(self) | 2074 | self.rq.start_fakeworker(self) |
2075 | self.rq.fakeworker.stdin.write("<runtask>" + pickle.dumps((fn, realtask, taskname, True, self.cooker.collection.get_file_appends(fn), None)) + "</runtask>") | 2075 | self.rq.fakeworker.stdin.write("<runtask>" + pickle.dumps((fn, realtask, taskname, True, self.cooker.collection.get_file_appends(fn), None)) + "</runtask>") |