aboutsummaryrefslogtreecommitdiffstats
path: root/classes
diff options
context:
space:
mode:
authorHolger Freyther <zecke@selfish.org>2007-12-26 20:23:09 +0000
committerHolger Freyther <zecke@selfish.org>2007-12-26 20:23:09 +0000
commit653b08bda5f9d81d52272cfd79645ae83febde28 (patch)
tree36b16e5cba0d1667d057bfae63cdcce9104c4579 /classes
parentbc9fa9d1d34e5e7451cd57fa4e06ea91a7879e01 (diff)
downloadopenembedded-653b08bda5f9d81d52272cfd79645ae83febde28.tar.gz
classes/insane.bbclass: Separate the workdir test and make it fatal
Diffstat (limited to 'classes')
-rw-r--r--classes/insane.bbclass5
1 files changed, 3 insertions, 2 deletions
diff --git a/classes/insane.bbclass b/classes/insane.bbclass
index 1a6ea21b5e..36961ea811 100644
--- a/classes/insane.bbclass
+++ b/classes/insane.bbclass
@@ -163,9 +163,10 @@ def package_qa_get_elf(path, bits32):
# 2 - package depends on debug package
# 3 - non dbg contains .so
# 4 - wrong architecture
-# 5 - .la contains installed=yes or reference to the workdir
+# 5 - .la contains installed=yes
# 6 - .pc contains reference to /usr/include or workdir
# 7 - the desktop file is not valid
+# 8 - .la contains reference to the workdir
def package_qa_clean_path(path,d):
""" Remove the common prefix from the path. In this case it is the TMPDIR"""
@@ -347,7 +348,7 @@ def package_qa_check_staged(path,d):
if workdir in file_content:
bb.error("QA issue: %s failed sanity test (workdir) in path %s" % \
(file,root))
- if package_qa_make_fatal_error( 5, "staging", path, d):
+ if package_qa_make_fatal_error(8, "staging", path, d):
sane = False
elif file[-2:] == "pc":
file_content = open(path).read()