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 | 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 6ca693d21c..4ea4970127 100644 --- a/bitbake/lib/bb/runqueue.py +++ b/bitbake/lib/bb/runqueue.py | |||
@@ -1551,7 +1551,8 @@ class RunQueueExecuteTasks(RunQueueExecute): | |||
1551 | bb.event.fire(startevent, self.cfgData) | 1551 | bb.event.fire(startevent, self.cfgData) |
1552 | self.runq_running[task] = 1 | 1552 | self.runq_running[task] = 1 |
1553 | self.stats.taskActive() | 1553 | self.stats.taskActive() |
1554 | bb.build.make_stamp(taskname, self.rqdata.dataCache, fn) | 1554 | if not self.cooker.configuration.dry_run: |
1555 | bb.build.make_stamp(taskname, self.rqdata.dataCache, fn) | ||
1555 | self.task_complete(task) | 1556 | self.task_complete(task) |
1556 | return True | 1557 | return True |
1557 | else: | 1558 | else: |