diff options
author | Richard Purdie <richard.purdie@linuxfoundation.org> | 2021-05-09 10:59:44 +0100 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2021-05-20 12:36:42 +0100 |
commit | 76c2624a1f820c8969342a0ea3d3e750e71e5d4d (patch) | |
tree | 4f831f9409430993236659c48e2de2fd70265baf /scripts/contrib | |
parent | 4f428303e02c37688018271210c5bdf7e3e4fc06 (diff) | |
download | poky-76c2624a1f820c8969342a0ea3d3e750e71e5d4d.tar.gz |
oeqa/qemurunner: Improve handling of run_serial for shutdown commands
When running a shutdown command, the serial port can close without the
command returning. This is seen as the socket being readable but having
no data. Change the way this case is handled in the code to avoid
tracebacks.
(From OE-Core rev: 9c0b242856de519c58be179f82441a35fc635ad9)
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit 396a3ba884820d040c91f7592daf20ac28c49b5d)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'scripts/contrib')
0 files changed, 0 insertions, 0 deletions