insane.bbclass: Make sure QA issues are reported as warnings

Signed-off-by: Richard  Purdie <richard.purdie@linuxfoundation.org>
This commit is contained in:
Richard Purdie 2011-01-13 15:47:14 +00:00
parent d82f205cfa
commit b939ff53ed
1 changed files with 1 additions and 2 deletions

View File

@ -153,8 +153,7 @@ def package_qa_handle_error(error_class, error_msg, name, path, d):
if fatal:
bb.error("QA Issue: %s" % error_msg)
else:
# Use bb.warn here when it works
bb.note("QA Issue: %s" % error_msg)
bb.warn("QA Issue: %s" % error_msg)
package_qa_write_error(error_class, name, path, d)
return not fatal