oeqa/qemurunner: don't assume hostname starts with qemu
It's possible to customise the hostname trivially so don't assume that the hostname hasn't been configured. (From OE-Core rev: faf85728ed9a5a3af336f243f6f3567c773159cf) Signed-off-by: Ross Burton <ross.burton@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
This commit is contained in:
parent
b0f034e4db
commit
9a539cbc19
|
@ -137,7 +137,7 @@ class QemuRunner:
|
|||
if data:
|
||||
self.log(data)
|
||||
self.bootlog += data
|
||||
if re.search("qemu.* login:", self.bootlog):
|
||||
if re.search(".* login:", self.bootlog):
|
||||
stopread = True
|
||||
reachedlogin = True
|
||||
logging.info("Reached login banner")
|
||||
|
|
Loading…
Reference in New Issue