[bitbake-devel] [PATCH 3/4] process: Flush key output to logs
Richard Purdie
richard.purdie at linuxfoundation.org
Wed Dec 5 13:07:02 UTC 2018
Signed-off-by: Richard Purdie <richard.purdie at linuxfoundation.org>
---
lib/bb/server/process.py | 4 ++++
1 file changed, 4 insertions(+)
diff --git a/lib/bb/server/process.py b/lib/bb/server/process.py
index fd1ba47fd5..49973d6670 100644
--- a/lib/bb/server/process.py
+++ b/lib/bb/server/process.py
@@ -445,6 +445,8 @@ class BitBakeServer(object):
def _startServer(self):
print(self.start_log_format % (os.getpid(), datetime.datetime.now().strftime(self.start_log_datetime_format)))
+ sys.stdout.flush()
+
server = ProcessServer(self.bitbake_lock, self.sock, self.sockname)
self.configuration.setServerRegIdleCallback(server.register_idle_function)
os.close(self.readypipe)
@@ -456,6 +458,8 @@ class BitBakeServer(object):
server.server_timeout = self.configuration.server_timeout
server.xmlrpcinterface = self.configuration.xmlrpcinterface
print("Started bitbake server pid %d" % os.getpid())
+ sys.stdout.flush()
+
server.start()
def connectProcessServer(sockname, featureset):
--
2.19.1
More information about the bitbake-devel
mailing list