diff options
author | Ross Burton <ross.burton@intel.com> | 2015-07-23 22:59:50 +0100 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2015-07-25 14:41:42 +0100 |
commit | 9a539cbc197b5e9622de1c848c2cfd7b1b50b47d (patch) | |
tree | ead1035f244d3240c84e2429827727e828c48423 | |
parent | b0f034e4db57e697460e040482a5e627ba396968 (diff) | |
download | poky-9a539cbc197b5e9622de1c848c2cfd7b1b50b47d.tar.gz |
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>
-rw-r--r-- | meta/lib/oeqa/utils/qemurunner.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/meta/lib/oeqa/utils/qemurunner.py b/meta/lib/oeqa/utils/qemurunner.py index a15990eaa8..59c9934377 100644 --- a/meta/lib/oeqa/utils/qemurunner.py +++ b/meta/lib/oeqa/utils/qemurunner.py | |||
@@ -137,7 +137,7 @@ class QemuRunner: | |||
137 | if data: | 137 | if data: |
138 | self.log(data) | 138 | self.log(data) |
139 | self.bootlog += data | 139 | self.bootlog += data |
140 | if re.search("qemu.* login:", self.bootlog): | 140 | if re.search(".* login:", self.bootlog): |
141 | stopread = True | 141 | stopread = True |
142 | reachedlogin = True | 142 | reachedlogin = True |
143 | logging.info("Reached login banner") | 143 | logging.info("Reached login banner") |