diff options
author | Ross Burton <ross.burton@intel.com> | 2016-07-25 23:32:26 +0100 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2016-07-26 08:10:37 +0100 |
commit | 1393b23f512b42d0dc547677f3fc3a88f3864a31 (patch) | |
tree | 42c71f8c9cf70d11dcdfd5e1ab5d775fa7d963fe /meta/classes/siteinfo.bbclass | |
parent | 9411e33b8863d5b88042a03b8e1950c5fcbae36b (diff) | |
download | poky-1393b23f512b42d0dc547677f3fc3a88f3864a31.tar.gz |
bitbake: lib/bb/build: handle incomplete message fragments in log FIFO
It's possible that the logging FIFO doesn't do a complete read (or the sender a
complete write) with the result that an incomplete message is read in bitbake.
This used to result in silently truncated lines but since 42d727 now also
results in a warning as the start of the rest of the message isn't a valid
logging command.
Solve this by storing incoming bytes in a bytearray() across reads, and parsing
complete messages from that.
[ YOCTO #9999 ]
(Bitbake rev: 508112793ee7ace613f07695222997309a2ca58f)
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta/classes/siteinfo.bbclass')
0 files changed, 0 insertions, 0 deletions