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-23 11:43:29 +0100 |
commit | 39c5cfbef79edd4439321c5776de97ad4e9b8420 (patch) | |
tree | 521cbe41a2ebfa0d9b75cc268e48f3152fee94a8 /bitbake | |
parent | 75c6b781fc42375a33c5ef263e42b38a5360aa0b (diff) | |
download | ast2050-yocto-poky-39c5cfbef79edd4439321c5776de97ad4e9b8420.zip ast2050-yocto-poky-39c5cfbef79edd4439321c5776de97ad4e9b8420.tar.gz |
bitbake: 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.
(Bitbake rev: aa6448a0552ba2947ac262b8b5314a593d1058d3)
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'bitbake')
-rw-r--r-- | bitbake/lib/bb/runqueue.py | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/bitbake/lib/bb/runqueue.py b/bitbake/lib/bb/runqueue.py index 6ca693d..4ea4970 100644 --- a/bitbake/lib/bb/runqueue.py +++ b/bitbake/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: |