@@ -443,6 +443,7 @@ def package_qa_check_buildpaths(path, name, d, elf):
if tmpdir in file_content:
path = package_qa_clean_path(path, d, name)
oe.qa.handle_error("buildpaths", "File %s in package %s contains reference to TMPDIR" % (path, name), d)
+ buildpaths_skip.append(tmpdir.decode())
if homedir and homedir in file_content and not any(path.startswith(homedir.decode()) for path in buildpaths_skip):
path = package_qa_clean_path(path, d, name)
oe.qa.handle_error("buildpaths", "File %s in package %s contains a reference to the build host HOME directory. If upstream hardcodes a directory path that matches your home, you can set OEQA_BUILDPATHS_SKIP = \"%s\" in the recipe." % (path, name, homedir.decode()), d)
Since TMPDIR is typically under HOME, there is no reason to report on HOME if that is the case, and TMPDIR has already been reported. Signed-off-by: Peter Kjellerstedt <peter.kjellerstedt@axis.com> --- meta/classes-global/insane.bbclass | 1 + 1 file changed, 1 insertion(+)