runqueue: Do not write out stamp files in dry_run mode
PATCH 1/1 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 <[email protected]>
---
bitbake/lib/bb/runqueue.py +2 -1
@@ -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: