]> code.ossystems Code Review - openembedded-core.git/commit
insane.bbclass: quiet package errors not in *_QA
authorChristopher Larson <chris_larson@mentor.com>
Mon, 10 Jun 2013 20:47:07 +0000 (13:47 -0700)
committerRichard Purdie <richard.purdie@linuxfoundation.org>
Tue, 11 Jun 2013 14:45:24 +0000 (15:45 +0100)
commit8f5675e6d3eb8473f367de72d2d3d8a702011a47
treef59cce56a4a315bd0a56d5b588416a3688a57156
parent4ec66dc5f38913056942e1288c0b01a00ea0551f
insane.bbclass: quiet package errors not in *_QA

Currently, if a package QA type from package.bbclass is not listed in
ERROR_QA, it gets shown, regardless of whether it's in WARN_QA. This differs
from the behavior of the rest of the QA handling (which doesn't call
package_qa_handle_error at all if it's in neither _QA variable), and is
nonintuitive. Change this to use bb.note() if it's listed neither in ERROR_QA
nor WARN_QA, so it ends up in the task logs, but doesn't clutter up the user's
output.

Signed-off-by: Christopher Larson <chris_larson@mentor.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
meta/classes/insane.bbclass