* [PATCH] runqueue: Do not write out stamp files in dry_run mode
@ 2014-04-13 10:45 Richard Purdie
0 siblings, 0 replies; only message in thread
From: Richard Purdie @ 2014-04-13 10:45 UTC (permalink / raw)
To: bitbake-devel
In dry run mode, stamps for noexec tasks are being written out which
is incorrect. Avoid this.
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
---
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:
^ permalink raw reply related [flat|nested] only message in thread
only message in thread, other threads:[~2014-04-13 10:46 UTC | newest]
Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2014-04-13 10:45 [PATCH] runqueue: Do not write out stamp files in dry_run mode Richard Purdie
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.