Skip to contentSkip to conversation

runqueue: Do not write out stamp files in dry_run mode

PATCH New Richard Purdie 1 participant 1 message Apr 13, 2014

lore
Share & tools
lore
#0 lore raw

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.

---

bitbake/lib/bb/runqueue.py +2 -1
index 6ca693d..4ea4970 100644
@@ -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: