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:45:07 +0000 (14:45 +0100)
commit3d5add028a7728d6b2aed87d46a13a06fb9313a0
treef349c88814a1a468bfa7af6c09a8e5fd49aa410c
parente295a48d56936404043e02f25e3c902a9e836fd2
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.

(From OE-Core rev: 7b43151bb073f1f6f1fa5a31447b742127060909)

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