]> 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)
committerSteve Sakoman <steve@sakoman.com>
Sat, 30 May 2020 22:12:33 +0000 (12:12 -1000)
commit9c2efe41d5d894094552c4bbc4180675a5aac751
treeee97eaa89d1e0a6f5d5afc79215515e4002c4762
parentce5500cc07da270322b67db5001fc1476b6bf2fe
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>
(cherry picked from commit 75f2471d15fab024775c59cb70c54e3f25f9ae72)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
meta/lib/oeqa/utils/qemurunner.py