summaryrefslogtreecommitdiffstats
path: root/meta-skeleton/recipes-multilib/images
diff options
context:
space:
mode:
authorAlexander Kanavin <alex.kanavin@gmail.com>2023-01-30 23:11:25 +0100
committerRichard Purdie <richard.purdie@linuxfoundation.org>2023-02-24 16:41:42 +0000
commit59bfcd7299cd5e45a5cae976864c530ced2de6bd (patch)
tree05407bc3e53a8b838c205df5418ef7145c26aa59 /meta-skeleton/recipes-multilib/images
parentc3fb76fc720babb16fe7042afe8eb36b535e14ac (diff)
downloadpoky-59bfcd7299cd5e45a5cae976864c530ced2de6bd.tar.gz
oeqa/qemurunner: do not use Popen.poll() when terminating runqemu with a signal
This does not actually guarantee that the child runqemu process has completely exited: poll() may return prematurely while the SIGTERM handler in runqemu is still running. This thwarts the rest of the processing, and may terminate the handler before it completes. Use Popen.communicate() instead: this is what python documentation recommends as well: https://docs.python.org/3/library/subprocess.html#subprocess.Popen.communicate (From OE-Core rev: 3793662bcfdab230d7b98bde2bc6757949b0aca0) Signed-off-by: Alexander Kanavin <alex@linutronix.de> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org> (cherry picked from commit cd3e55606c427287f37585c5d7cde936471e52f4) Signed-off-by: Steve Sakoman <steve@sakoman.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta-skeleton/recipes-multilib/images')
0 files changed, 0 insertions, 0 deletions