[OE-core] [PATCH 1/4] insane.bbclass: support to skip unsafe references in binaries qa check.
Hongxu Jia
hongxu.jia at windriver.com
Mon Nov 4 07:13:53 UTC 2013
Add a variable to support skipping the unsafe references in binaries qa check.
[YOCTO #5142]
Signed-off-by: Hongxu Jia <hongxu.jia at windriver.com>
---
meta/classes/insane.bbclass | 4 ++++
1 file changed, 4 insertions(+)
diff --git a/meta/classes/insane.bbclass b/meta/classes/insane.bbclass
index eb440c2..20bbab0 100644
--- a/meta/classes/insane.bbclass
+++ b/meta/classes/insane.bbclass
@@ -318,6 +318,10 @@ def package_qa_check_unsafe_references_in_binaries(path, name, d, elf, messages)
if elf:
import subprocess as sub
pn = d.getVar('PN', True)
+ # Skip for any packages with unsafe-ref-bin in INSANE_SKIP
+ if 'unsafe-ref-bin' in (d.getVar('INSANE_SKIP_' + pn, True) or "").split():
+ bb.note("Package %s skipping unsafe references in binaries QA test" % (pn))
+ return
exec_prefix = d.getVar('exec_prefix', True)
sysroot_path = d.getVar('STAGING_DIR_TARGET', True)
--
1.8.1.2
More information about the Openembedded-core
mailing list