aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorRobert Yang <liezhi.yang@windriver.com>2015-10-06 02:18:58 -0700
committerRobert Yang <liezhi.yang@windriver.com>2015-10-08 05:58:40 -0700
commit18a2e42949e3b3f6d18f1a72f2f870115731046e (patch)
treee65636482382f88903e71683735db4677a0fcd1c
parente24694ec19142b36f5e455f67f9e6ac4cf4bb42a (diff)
downloadopenembedded-core-contrib-18a2e42949e3b3f6d18f1a72f2f870115731046e.tar.gz
insane.bbclass: buildpaths: ignore .pyc files
The .pyc files usually contain build path like: i586-poky-linux-gcc -m32 -march=i586 --sysroot=/buildarea/lyang1/test_p/tmp/sysroots/qemux86 And: _PYTHON_PROJECT_BASE=/buildarea/lyang1/test_p/tmp/work/i586-poky-linux/python/2.7.9-r1/build They are safe, so ignore them. This can reduce 1065 QA issues for buildpaths in a world build. [YOCTO #8446] Signed-off-by: Robert Yang <liezhi.yang@windriver.com>
-rw-r--r--meta/classes/insane.bbclass4
1 files changed, 4 insertions, 0 deletions
diff --git a/meta/classes/insane.bbclass b/meta/classes/insane.bbclass
index e3a8cd7515..664dfec50a 100644
--- a/meta/classes/insane.bbclass
+++ b/meta/classes/insane.bbclass
@@ -576,6 +576,10 @@ def package_qa_check_buildpaths(path, name, d, elf, messages):
if path.find(".debug") != -1:
return
+ # Ignore .pyc files, not interesting
+ if path.endswith(".pyc"):
+ return
+
# Ignore symlinks
if os.path.islink(path):
return