summaryrefslogtreecommitdiffstats
path: root/meta/classes
diff options
context:
space:
mode:
authorPaul Eggleton <paul.eggleton@linux.intel.com>2011-07-07 18:32:47 +0100
committerRichard Purdie <richard.purdie@linuxfoundation.org>2011-07-08 17:35:03 +0100
commit18ce7e2ef3a3b65bc0abca4f0135005249e6d2ca (patch)
tree3ddc2a35ca49d6514121a5c9039538583e6eac9e /meta/classes
parent34ea005d6a17362aa16d4c7796b85062ab14a8ad (diff)
downloadpoky-18ce7e2ef3a3b65bc0abca4f0135005249e6d2ca.tar.gz
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>
Diffstat (limited to 'meta/classes')
-rw-r--r--meta/classes/insane.bbclass4
1 files changed, 2 insertions, 2 deletions
diff --git a/meta/classes/insane.bbclass b/meta/classes/insane.bbclass
index 1cf7014bc8..1567f36227 100644
--- a/meta/classes/insane.bbclass
+++ b/meta/classes/insane.bbclass
@@ -112,10 +112,10 @@ def package_qa_handle_error(error_class, error_msg, d):
112 package_qa_write_error(error_msg, d) 112 package_qa_write_error(error_msg, d)
113 if error_class in (d.getVar("ERROR_QA", True) or "").split(): 113 if error_class in (d.getVar("ERROR_QA", True) or "").split():
114 bb.error("QA Issue: %s" % error_msg) 114 bb.error("QA Issue: %s" % error_msg)
115 return True 115 return False
116 else: 116 else:
117 bb.warn("QA Issue: %s" % error_msg) 117 bb.warn("QA Issue: %s" % error_msg)
118 return False 118 return True
119 119
120QAPATHTEST[rpaths] = "package_qa_check_rpath" 120QAPATHTEST[rpaths] = "package_qa_check_rpath"
121def package_qa_check_rpath(file,name, d, elf, messages): 121def package_qa_check_rpath(file,name, d, elf, messages):