From 653b08bda5f9d81d52272cfd79645ae83febde28 Mon Sep 17 00:00:00 2001 From: Holger Freyther <zecke@selfish.org> Date: Wed, 26 Dec 2007 20:23:09 +0000 Subject: classes/insane.bbclass: Separate the workdir test and make it fatal --- classes/insane.bbclass | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) (limited to 'classes/insane.bbclass') 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() -- cgit v1.2.3