aboutsummaryrefslogtreecommitdiffstats
path: root/lib
diff options
context:
space:
mode:
authorRichard Purdie <richard.purdie@linuxfoundation.org>2016-05-09 14:15:26 +0100
committerRichard Purdie <richard.purdie@linuxfoundation.org>2016-05-09 17:32:13 +0100
commit49bea821a2edad5e19c3a566d1a80c23718dede9 (patch)
treeaa75bdb93474e249912072869e0ca80aacf4c241 /lib
parent0737e003ca549d08a7dfe13452ae982f2e11fecd (diff)
downloadbitbake-49bea821a2edad5e19c3a566d1a80c23718dede9.tar.gz
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. Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'lib')
-rw-r--r--lib/bb/runqueue.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/bb/runqueue.py b/lib/bb/runqueue.py
index 1c60d97c7..8b3fe5a95 100644
--- a/lib/bb/runqueue.py
+++ b/lib/bb/runqueue.py
@@ -2069,7 +2069,7 @@ class RunQueueExecuteScenequeue(RunQueueExecute):
bb.event.fire(startevent, self.cfgData)
taskdep = self.rqdata.dataCache.task_deps[fn]
- if 'fakeroot' in taskdep and taskname in taskdep['fakeroot']:
+ if 'fakeroot' in taskdep and taskname in taskdep['fakeroot'] and not self.cooker.configuration.dry_run:
if not self.rq.fakeworker:
self.rq.start_fakeworker(self)
self.rq.fakeworker.stdin.write("<runtask>" + pickle.dumps((fn, realtask, taskname, True, self.cooker.collection.get_file_appends(fn), None)) + "</runtask>")