diff options
author | Richard Purdie <rpurdie@linux.intel.com> | 2008-05-09 10:12:27 +0000 |
---|---|---|
committer | Richard Purdie <rpurdie@linux.intel.com> | 2008-05-09 10:12:27 +0000 |
commit | 02a48b3e3962b5dc25def67154816de6f97e7f43 (patch) | |
tree | 028409219803f63daed9cd37566359cd2f951081 | |
parent | 8b41c6d1dcf7ac54386913ab17ae9524f6061b00 (diff) | |
download | bitbake-02a48b3e3962b5dc25def67154816de6f97e7f43.tar.gz |
runqueue.py: Flush stdout/stderr before forking to fix duplicate console output
-rw-r--r-- | ChangeLog | 1 | ||||
-rw-r--r-- | lib/bb/runqueue.py | 2 |
2 files changed, 3 insertions, 0 deletions
@@ -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: |