aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--ChangeLog1
-rw-r--r--lib/bb/runqueue.py2
2 files changed, 3 insertions, 0 deletions
diff --git a/ChangeLog b/ChangeLog
index 08b5ae7c5..03fc30b8a 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -131,6 +131,7 @@ Changes in Bitbake 1.9.x:
checking stamp dependencies and using a BB_STAMP_POLICY of "whitelist"
- No longer weight providers on the basis of a package being "already staged". This
leads to builds being non-deterministic.
+ - Flush stdout/stderr before forking to fix duplicate console output
Changes in Bitbake 1.8.0:
- Release 1.7.x as a stable series
diff --git a/lib/bb/runqueue.py b/lib/bb/runqueue.py
index 6331fec58..d7033a3ef 100644
--- a/lib/bb/runqueue.py
+++ b/lib/bb/runqueue.py
@@ -959,6 +959,8 @@ class RunQueue:
bb.event.fire(runQueueTaskStarted(task, self.stats, self, self.cfgData))
bb.msg.note(1, bb.msg.domain.RunQueue, "Running task %d of %d (ID: %s, %s)" % (self.stats.completed + self.stats.active + 1, self.stats.total, task, self.get_user_idstring(task)))
+ sys.stdout.flush()
+ sys.stderr.flush()
try:
pid = os.fork()
except OSError, e: