]> git.ipfire.org Git - thirdparty/openembedded/openembedded-core-contrib.git/commit
qemurunner: Skip conversion from/to binary data for logfile
authorRichard Purdie <richard.purdie@linuxfoundation.org>
Wed, 4 Oct 2023 12:20:08 +0000 (13:20 +0100)
committerRichard Purdie <richard.purdie@linuxfoundation.org>
Wed, 4 Oct 2023 22:05:45 +0000 (23:05 +0100)
commitb5d67471dddd198723c4f711747783a33e8e5987
tree9de06227b79e65f52294fa3ce36b28cdcc93c0ac
parent63ea1efdaaf1173ef4f2f69b5a3403afef4b556a
qemurunner: Skip conversion from/to binary data for logfile

There is no point in decoding binary data only to encode it again risking
conversion issues. Write the raw data to the log file as binary and skip
the conversion.

Also always update self.msg even if a logfile isn't specified to improve
logging/debug.

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
meta/lib/oeqa/utils/qemurunner.py