summaryrefslogtreecommitdiffstats
path: root/meta
diff options
context:
space:
mode:
Diffstat (limited to 'meta')
-rw-r--r--meta/classes/insane.bbclass3
1 files changed, 2 insertions, 1 deletions
diff --git a/meta/classes/insane.bbclass b/meta/classes/insane.bbclass
index fdc20c41a5..0fb5fee061 100644
--- a/meta/classes/insane.bbclass
+++ b/meta/classes/insane.bbclass
@@ -408,7 +408,8 @@ def package_qa_check_buildpaths(path, name, d, elf, messages):
408 with open(path, 'rb') as f: 408 with open(path, 'rb') as f:
409 file_content = f.read() 409 file_content = f.read()
410 if tmpdir in file_content: 410 if tmpdir in file_content:
411 package_qa_add_message(messages, "buildpaths", "File %s in package contained reference to tmpdir" % package_qa_clean_path(path,d)) 411 trimmed = path.replace(os.path.join (d.getVar("PKGDEST"), name), "")
412 package_qa_add_message(messages, "buildpaths", "File %s in package %s contains reference to TMPDIR" % (trimmed, name))
412 413
413 414
414QAPATHTEST[xorg-driver-abi] = "package_qa_check_xorg_driver_abi" 415QAPATHTEST[xorg-driver-abi] = "package_qa_check_xorg_driver_abi"