mirror of
https://git.yoctoproject.org/poky
synced 2026-05-30 12:29:55 +00:00
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:
committed by
Richard Purdie
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)
|
package_qa_write_error(error_msg, d)
|
||||||
if error_class in (d.getVar("ERROR_QA", True) or "").split():
|
if error_class in (d.getVar("ERROR_QA", True) or "").split():
|
||||||
bb.error("QA Issue: %s" % error_msg)
|
bb.error("QA Issue: %s" % error_msg)
|
||||||
return True
|
return False
|
||||||
else:
|
else:
|
||||||
bb.warn("QA Issue: %s" % error_msg)
|
bb.warn("QA Issue: %s" % error_msg)
|
||||||
return False
|
return True
|
||||||
|
|
||||||
QAPATHTEST[rpaths] = "package_qa_check_rpath"
|
QAPATHTEST[rpaths] = "package_qa_check_rpath"
|
||||||
def package_qa_check_rpath(file,name, d, elf, messages):
|
def package_qa_check_rpath(file,name, d, elf, messages):
|
||||||
|
|||||||
Reference in New Issue
Block a user