summaryrefslogtreecommitdiffstats
path: root/meta/classes/insane.bbclass
diff options
context:
space:
mode:
Diffstat (limited to 'meta/classes/insane.bbclass')
-rw-r--r--meta/classes/insane.bbclass6
1 files changed, 4 insertions, 2 deletions
diff --git a/meta/classes/insane.bbclass b/meta/classes/insane.bbclass
index c0910057f7..2b305386c6 100644
--- a/meta/classes/insane.bbclass
+++ b/meta/classes/insane.bbclass
@@ -143,9 +143,11 @@ def package_qa_handle_error(error_class, error_msg, d):
143 bb.error("QA Issue: %s" % error_msg) 143 bb.error("QA Issue: %s" % error_msg)
144 d.setVar("QA_SANE", False) 144 d.setVar("QA_SANE", False)
145 return False 145 return False
146 else: 146 elif error_class in (d.getVar("WARN_QA", True) or "").split():
147 bb.warn("QA Issue: %s" % error_msg) 147 bb.warn("QA Issue: %s" % error_msg)
148 return True 148 else:
149 bb.note("QA Issue: %s" % error_msg)
150 return True
149 151
150QAPATHTEST[libexec] = "package_qa_check_libexec" 152QAPATHTEST[libexec] = "package_qa_check_libexec"
151def package_qa_check_libexec(path,name, d, elf, messages): 153def package_qa_check_libexec(path,name, d, elf, messages):