[yocto] [meta-security][PATCH] paxctl: Fix QA warning

Armin Kuster akuster808 at gmail.com
Sun Sep 25 09:13:38 PDT 2016


WARNING: paxctl-0.9-r0 do_package_qa: QA Issue: No GNU_HASH in the elf binary: '...../build/tmp-glibc/work/core2-64-oe-linux/paxctl/0.9-r0/packages-split/paxctl/sbin/paxctl' [ldflags]

Signed-off-by: Armin Kuster <akuster808 at gmail.com>
---
 recipes-security/paxctl/paxctl_0.9.bb | 3 +++
 1 file changed, 3 insertions(+)

diff --git a/recipes-security/paxctl/paxctl_0.9.bb b/recipes-security/paxctl/paxctl_0.9.bb
index fb87f10..3c04141 100644
--- a/recipes-security/paxctl/paxctl_0.9.bb
+++ b/recipes-security/paxctl/paxctl_0.9.bb
@@ -32,4 +32,7 @@ do_install_class-native() {
 	install --mode a=r $PROG.1 ${D}${mandir}/man1/$PROG.1
 }
 
+# Avoid QA Issue: No GNU_HASH in the elf binary
+INSANE_SKIP_${PN} = "ldflags" 
+
 BBCLASSEXTEND = "native"
-- 
2.7.4




More information about the yocto mailing list