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:
parent
e3aa7a30b3
commit
f4f72b15ad
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue