]> code.ossystems Code Review - openembedded-core.git/commit
qemuimage-testlib-pythonhelper: Make the process detection more strict
authorRichard Purdie <richard.purdie@linuxfoundation.org>
Thu, 25 Apr 2013 10:15:26 +0000 (11:15 +0100)
committerRichard Purdie <richard.purdie@linuxfoundation.org>
Mon, 29 Apr 2013 13:43:50 +0000 (14:43 +0100)
commit7b43151bb073f1f6f1fa5a31447b742127060909
treea15004a7093f60e197e7618e58908fe604e0b467
parentce92c707f26aff8f02021c757056af4ecddb315d
qemuimage-testlib-pythonhelper: Make the process detection more strict

Old versions of ldd (2.11) as run on some of the autobuilders end up running
commands like "LD_xxxx qemu-system-xxx" which this process detection code
would pick up and result in the wrong PID for qemu.

This changes the code to check for "192.168" in the command so we know
we're getting the correct one. This is less than ideal however we're
running out of options and resolves false negatives we see on the
autobuilder.

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Signed-off-by: Saul Wold <sgw@linux.intel.com>
scripts/qemuimage-testlib-pythonhelper