summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--meta/classes/insane.bbclass6
1 files changed, 3 insertions, 3 deletions
diff --git a/meta/classes/insane.bbclass b/meta/classes/insane.bbclass
index eecd5763c7..17c9058b04 100644
--- a/meta/classes/insane.bbclass
+++ b/meta/classes/insane.bbclass
@@ -1060,7 +1060,7 @@ python do_package_qa () {
1060 package_qa_check_encoding(['DESCRIPTION', 'SUMMARY', 'LICENSE', 'SECTION'], 'utf-8', d) 1060 package_qa_check_encoding(['DESCRIPTION', 'SUMMARY', 'LICENSE', 'SECTION'], 'utf-8', d)
1061 1061
1062 logdir = d.getVar('T') 1062 logdir = d.getVar('T')
1063 pkg = d.getVar('PN') 1063 pn = d.getVar('PN')
1064 1064
1065 # Check the compile log for host contamination 1065 # Check the compile log for host contamination
1066 compilelog = os.path.join(logdir,"log.do_compile") 1066 compilelog = os.path.join(logdir,"log.do_compile")
@@ -1069,7 +1069,7 @@ python do_package_qa () {
1069 statement = "grep -e 'CROSS COMPILE Badness:' -e 'is unsafe for cross-compilation' %s > /dev/null" % compilelog 1069 statement = "grep -e 'CROSS COMPILE Badness:' -e 'is unsafe for cross-compilation' %s > /dev/null" % compilelog
1070 if subprocess.call(statement, shell=True) == 0: 1070 if subprocess.call(statement, shell=True) == 0:
1071 msg = "%s: The compile log indicates that host include and/or library paths were used.\n \ 1071 msg = "%s: The compile log indicates that host include and/or library paths were used.\n \
1072 Please check the log '%s' for more information." % (pkg, compilelog) 1072 Please check the log '%s' for more information." % (pn, compilelog)
1073 package_qa_handle_error("compile-host-path", msg, d) 1073 package_qa_handle_error("compile-host-path", msg, d)
1074 1074
1075 # Check the install log for host contamination 1075 # Check the install log for host contamination
@@ -1079,7 +1079,7 @@ python do_package_qa () {
1079 statement = "grep -e 'CROSS COMPILE Badness:' -e 'is unsafe for cross-compilation' %s > /dev/null" % installlog 1079 statement = "grep -e 'CROSS COMPILE Badness:' -e 'is unsafe for cross-compilation' %s > /dev/null" % installlog
1080 if subprocess.call(statement, shell=True) == 0: 1080 if subprocess.call(statement, shell=True) == 0:
1081 msg = "%s: The install log indicates that host include and/or library paths were used.\n \ 1081 msg = "%s: The install log indicates that host include and/or library paths were used.\n \
1082 Please check the log '%s' for more information." % (pkg, installlog) 1082 Please check the log '%s' for more information." % (pn, installlog)
1083 package_qa_handle_error("install-host-path", msg, d) 1083 package_qa_handle_error("install-host-path", msg, d)
1084 1084
1085 # Scan the packages... 1085 # Scan the packages...