aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--meta/classes/insane.bbclass8
1 files changed, 6 insertions, 2 deletions
diff --git a/meta/classes/insane.bbclass b/meta/classes/insane.bbclass
index bc72ea5b3b..e0223f12c4 100644
--- a/meta/classes/insane.bbclass
+++ b/meta/classes/insane.bbclass
@@ -351,8 +351,12 @@ def package_qa_check_staged(path,d):
path = os.path.join(root,file)
if file[-2:] == "la":
file_content = open(path).read()
- if installed in file_content or workdir in file_content:
- bb.error("QA issue: %s failed sanity test (reference to workdir or installed)" % file )
+ if installed in file_content:
+ bb.error("QA issue: %s failed sanity test (installed)" % file )
+ if package_qa_make_fatal_error( 5, "staging", path, d):
+ sane = True
+ if workdir in file_content:
+ bb.error("QA issue: %s failed sanity test (reference to workdir)" % file )
if package_qa_make_fatal_error( 5, "staging", path, d):
sane = True
elif file[-2:] == "pc":