poky/bitbake/bin
Jason Wessel 88429f018b 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>
2012-09-24 15:35:32 +01:00
..
bitbake bitbake: bitbake: Unbuffer stdout for log files 2012-09-24 15:35:32 +01:00
bitbake-diffsigs bitbake: bitbake-diffsigs: allow specifying task & follow deps recursively 2012-09-07 12:10:45 +01:00
bitbake-dumpsig bitbake: lib/bb/siggen.py: make signature dump/compare functions return a list 2012-09-07 12:10:44 +01:00
bitbake-layers bitbake: tinfoil: create simple interface for bitbake-based utilities 2012-09-07 12:10:43 +01:00
bitbake-prserv bitbake/bitbake-prserv: Set file mode bits "x". 2012-03-02 16:22:27 +00:00
bitbake-runtask bitbake: Update users of getVar/setVar to use the data store functions directly 2011-11-27 10:35:30 +00:00
bitbake-selftest bitbake: Fixup bitbake-selftest 2012-05-04 17:41:47 +01:00
bitdoc bitbake: Update users of getVar/setVar to use the data store functions directly 2011-11-27 10:35:30 +00:00
image-writer image-writer: tweak some strings 2012-06-14 14:07:17 +01:00