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:
Richard Purdie 2015-07-27 13:28:24 +00:00
parent e3aa7a30b3
commit f4f72b15ad
1 changed files with 2 additions and 2 deletions

View File

@ -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