[OE-core] [PATCH 5/5] oeqa/qemurunner: don't assume hostname starts with qemu
Ross Burton
ross.burton at intel.com
Thu Jul 23 21:59:50 UTC 2015
It's possible to customise the hostname trivially so don't assume that the
hostname hasn't been configured.
Signed-off-by: Ross Burton <ross.burton at intel.com>
---
meta/lib/oeqa/utils/qemurunner.py | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/meta/lib/oeqa/utils/qemurunner.py b/meta/lib/oeqa/utils/qemurunner.py
index a15990e..59c9934 100644
--- a/meta/lib/oeqa/utils/qemurunner.py
+++ b/meta/lib/oeqa/utils/qemurunner.py
@@ -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")
--
2.1.4
More information about the Openembedded-core
mailing list