From 39c5cfbef79edd4439321c5776de97ad4e9b8420 Mon Sep 17 00:00:00 2001 From: Richard Purdie Date: Sun, 13 Apr 2014 11:45:58 +0100 Subject: 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 --- bitbake/lib/bb/runqueue.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'bitbake/lib/bb/runqueue.py') 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): 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: -- cgit v1.2.3-54-g00ecf