mirror of
https://git.yoctoproject.org/poky
synced 2026-06-05 14:29:48 +00:00
qemurunner: Show last 25 line of log, not 5
For debugging purposes, 5 lines often isn't useful as it doesn't even cover a full backtrace. Show 25 instead. (From OE-Core rev: 5b3ff562b2c56df301fc402c8b84420d8d4e5705) Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
This commit is contained in:
@@ -160,8 +160,8 @@ class QemuRunner:
|
||||
|
||||
if not reachedlogin:
|
||||
logger.info("Target didn't reached login boot in %d seconds" % self.boottime)
|
||||
lines = "\n".join(self.bootlog.splitlines()[-5:])
|
||||
logger.info("Last 5 lines of text:\n%s" % lines)
|
||||
lines = "\n".join(self.bootlog.splitlines()[-25:])
|
||||
logger.info("Last 25 lines of text:\n%s" % lines)
|
||||
logger.info("Check full boot log: %s" % self.logfile)
|
||||
self.stop()
|
||||
return False
|
||||
|
||||
Reference in New Issue
Block a user