]> code.ossystems Code Review - openembedded-core.git/commit
qemurunner: fix ip fallback detection
authorKonrad Weihmann <kweihmann@outlook.com>
Wed, 27 May 2020 18:07:58 +0000 (20:07 +0200)
committerRichard Purdie <richard.purdie@linuxfoundation.org>
Sat, 30 May 2020 11:29:28 +0000 (12:29 +0100)
commit75f2471d15fab024775c59cb70c54e3f25f9ae72
tree851fe986f5033be224ace1de3631a247cf4164be
parent7a578c760aa32f62bf39be7289de1516ad97e92e
qemurunner: fix ip fallback detection

When falling back from detecting ip from /proc/./cmdline the
output of runqemu is acutally
'Network configuration: ip=192.168.7.2::192.168.7.1::255.255.255.0'
which doesn't match the given regex and leading to run failure, although
IP is detectable.
Fix regex by inserting an optional 'ip=' prefix to first IP

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