diff options
author | Richard Purdie <richard.purdie@linuxfoundation.org> | 2014-04-13 11:45:58 +0100 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2014-04-21 23:05:55 +0100 |
commit | aa6448a0552ba2947ac262b8b5314a593d1058d3 (patch) | |
tree | e3e23f9259d0b64d3d89a00a57e3e0119e646c16 | |
parent | 12dc1d17fac3e8ec420fcafb06186d32fd847d89 (diff) | |
download | bitbake-aa6448a0552ba2947ac262b8b5314a593d1058d3.tar.gz |
runqueue: Do not write out stamp files in dry_run mode
In dry run mode, stamps for noexec tasks are being written out which
is incorrect. Avoid this.
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
-rw-r--r-- | lib/bb/runqueue.py | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/lib/bb/runqueue.py b/lib/bb/runqueue.py index 6ca693d21..4ea497012 100644 --- a/lib/bb/runqueue.py +++ b/lib/bb/runqueue.py @@ -1551,7 +1551,8 @@ class RunQueueExecuteTasks(RunQueueExecute): bb.event.fire(startevent, self.cfgData) self.runq_running[task] = 1 self.stats.taskActive() - bb.build.make_stamp(taskname, self.rqdata.dataCache, fn) + if not self.cooker.configuration.dry_run: + bb.build.make_stamp(taskname, self.rqdata.dataCache, fn) self.task_complete(task) return True else: |