diff options
author | Richard Purdie <richard.purdie@linuxfoundation.org> | 2018-09-04 15:54:12 +0100 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2018-09-05 18:01:37 +0100 |
commit | 74feaddda3b7cd5b3ab18d2f25bf5ef9581c9c47 (patch) | |
tree | 0e5d4c72d97ba4c0669aaf8394439778ea5ed33e /meta/recipes-graphics/eglinfo/files | |
parent | b7e26bedc2952e4ac0edface4bd20be22d7708cd (diff) | |
download | poky-74feaddda3b7cd5b3ab18d2f25bf5ef9581c9c47.tar.gz |
bitbake: server/process: Various server startup logging fixes
There were various problems in the server startup loggin:
a) stdout/stderr were not being flushed before forking which could potentially
duplicate output
b) there were separate buffers for stdout/stderr leading to confusing logs
where the entries could be reordered. This was particularly confusing
due to the separator the logs use to idendify new messages
c) an fd wasn't being closed during server startup meaning if the
server failed to start, the closed fd wasn't detected as it was held
open by the other reference
d) If the pipe was detected as being closed, the code incorrectly retried
server startup
e) The event code would remap stdout/stderr without flushing them, leading
to lose log messages
(Bitbake rev: 0594faa0b52ce5dbd948d836d88617d38d9862d1)
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta/recipes-graphics/eglinfo/files')
0 files changed, 0 insertions, 0 deletions