]> code.ossystems Code Review - openembedded-core.git/commit
rootfs.py: Reduce spam from _log_check_warn()
authorPeter Kjellerstedt <peter.kjellerstedt@axis.com>
Wed, 18 May 2016 22:28:17 +0000 (00:28 +0200)
committerRichard Purdie <richard.purdie@linuxfoundation.org>
Thu, 19 May 2016 21:31:34 +0000 (22:31 +0100)
commitd6e3477749b1d09d40a773e0ac857a24d5851984
treed71d8a4868bc63b51a922b20e4b11458d3b4b630
parent85f64c68278f797c6f73f002f63d7f46fe80aef4
rootfs.py: Reduce spam from _log_check_warn()

For each warning found in the log, _log_check_warn() would output a
line stating that it had found a warning, then the actual warning and
finally an empty line. This is quite excessive when there are many
warnings in the log.

With this change the output is instead a line stating how many
warnings were found, followed by the warnings. This makes the output
much more compact and actually much more readable.

Signed-off-by: Peter Kjellerstedt <peter.kjellerstedt@axis.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
meta/lib/oe/rootfs.py