mirror of
https://git.yoctoproject.org/poky
synced 2026-04-18 12:32:12 +02:00
oeqa/utils/qemurunner: Fix typo in previous commit
(From OE-Core rev: e2b4b0580cd719cf9d48576aa7d0b88e4a286921) Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
This commit is contained in:
@@ -329,7 +329,7 @@ class QemuRunner:
|
||||
self.logger.debug("Target didn't reach login banner in %d seconds (%s)" %
|
||||
(self.boottime, time.strftime("%D %H:%M:%S")))
|
||||
tail = lambda l: "\n".join(l.splitlines()[-25:])
|
||||
bootlog = boolog.decode("utf-8")
|
||||
bootlog = bootlog.decode("utf-8")
|
||||
# in case bootlog is empty, use tail qemu log store at self.msg
|
||||
lines = tail(bootlog if bootlog else self.msg)
|
||||
self.logger.debug("Last 25 lines of text:\n%s" % lines)
|
||||
|
||||
Reference in New Issue
Block a user