insane.bbclass: fix error/warning status being inverted
Fix package_qa_handle_error so that it returns the correct values in order to determine error/warning status. (From OE-Core rev: a66ed717f5f5991ee4072df67428564677e7d220) Signed-off-by: Paul Eggleton <paul.eggleton@linux.intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
This commit is contained in:
parent
34ea005d6a
commit
18ce7e2ef3
|
@ -112,10 +112,10 @@ def package_qa_handle_error(error_class, error_msg, d):
|
|||
package_qa_write_error(error_msg, d)
|
||||
if error_class in (d.getVar("ERROR_QA", True) or "").split():
|
||||
bb.error("QA Issue: %s" % error_msg)
|
||||
return True
|
||||
return False
|
||||
else:
|
||||
bb.warn("QA Issue: %s" % error_msg)
|
||||
return False
|
||||
return True
|
||||
|
||||
QAPATHTEST[rpaths] = "package_qa_check_rpath"
|
||||
def package_qa_check_rpath(file,name, d, elf, messages):
|
||||
|
|
Loading…
Reference in New Issue