[oe-commits] org.oe.dev classes/insane.bbclass: Separate the workdir test and make it fatal
freyther commit
openembedded-commits at lists.openembedded.org
Thu Dec 27 03:34:39 UTC 2007
classes/insane.bbclass: Separate the workdir test and make it fatal
Author: freyther at openembedded.org
Branch: org.openembedded.dev
Revision: cf7ee5be811ccf0534a8879118226a020c415b86
ViewMTN: http://monotone.openembedded.org/revision/info/cf7ee5be811ccf0534a8879118226a020c415b86
Files:
1
classes/insane.bbclass
Diffs:
#
# mt diff -rea1be019784707c691fa7f551d0b60a7ae6f81f1 -rcf7ee5be811ccf0534a8879118226a020c415b86
#
#
#
# patch "classes/insane.bbclass"
# from [966a68a540a5da659592f677d4ed3dd2d5282a22]
# to [2fa978333aeeef16366d891ae2f7a9205237d729]
#
============================================================
--- classes/insane.bbclass 966a68a540a5da659592f677d4ed3dd2d5282a22
+++ classes/insane.bbclass 2fa978333aeeef16366d891ae2f7a9205237d729
@@ -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()
More information about the Openembedded-commits
mailing list