diff options
author | Jason Wessel <jason.wessel@windriver.com> | 2012-09-17 17:43:31 -0500 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2012-09-24 15:35:32 +0100 |
commit | 88429f018bbb15749f31067d5e7bf33c21b15f92 (patch) | |
tree | 0eaea05390d0d35b19c0e0137b562972a9a093fd /scripts/gen-site-config | |
parent | 98ac5e4e6230095487b819b911890ec64e28d5f7 (diff) | |
download | poky-88429f018bbb15749f31067d5e7bf33c21b15f92.tar.gz |
bitbake: bitbake: Unbuffer stdout for log files
It is possible to lose critical log data when python exits in an
unorderly fashion via segmentation fault or certain types of crashes.
This is because the buffer characteristics are inherited from the top
level stdout, which should be set to unbuffered, for the purpose of
all the forked children.
This pushes the buffering to the OS, instead of having python managing
the buffers in its stream handler class.
This change is also to provide the ability to tail logs written from
processes in "real time" because they would be written in an orderly
fashion depending upon the OS characteristics for the file I/O.
(Bitbake rev: c6a367bc3224adafca698a4ffc5414ad83842c16)
Signed-off-by: Jason Wessel <jason.wessel@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'scripts/gen-site-config')
0 files changed, 0 insertions, 0 deletions