Skip to contentSkip to conversation

chkconfig: fix QA warning about unsafe references in binaries

PATCH New [email protected] 1 participant 2 messages Jun 6, 2013

lore
Share & tools
lore
#0 lore raw

cover chkconfig: fix QA warning about unsafe references in binaries

From: Wenzong Fan <[email protected]>

This test is disabled in oe-core by default, but if we enable it, we'll get following warnings:

+ WARN_QA = "unsafe-references-in-binaries unsafe-references-in-scripts"

WARNING: QA Issue: chkconfig: /sbin/chkconfig, installed in the \
base_prefix, requires a shared library under exec_prefix (/usr): \
libpopt.so.0 => /usr/lib64/libpopt.so.0

The following changes since commit a62aed41f2d8f874f7ae24d0e5be5dbc66ea2199:

lrzsz: check locale.h in configure (2013-06-04 15:55:46 +0100)

are available in the git repository at:

git://git.pokylinux.org/poky-contrib wenzong/chkconfig
http://git.pokylinux.org/cgit.cgi/poky-contrib/log/?h=wenzong/chkconfig

Wenzong Fan (1):
chkconfig: fix QA warning about unsafe references in binaries

 meta/recipes-extended/chkconfig/chkconfig_1.3.58.bb |    3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)
Signature · 1 line
1.7.10.4
#1 lore raw

PATCH 1/1 chkconfig: fix QA warning about unsafe references in binaries

From: Wenzong Fan <[email protected]>

This test is disabled in oe-core by default, but if we enable it, we'll get following warnings:

+ WARN_QA = "unsafe-references-in-binaries unsafe-references-in-scripts"

WARNING: QA Issue: chkconfig: /sbin/chkconfig, installed in the \
base_prefix, requires a shared library under exec_prefix (/usr): \
libpopt.so.0 => /usr/lib64/libpopt.so.0

---
 meta/recipes-extended/chkconfig/chkconfig_1.3.58.bb |    3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)
meta/recipes-extended/chkconfig/chkconfig_1.3.58.bb +2 -1
index 4c6985f..c6f8b1d 100644
@@ -43,7 +43,8 @@ obey_variables () {
 }
 
 do_install() {
-	oe_runmake 'DESTDIR=${D}' 'INSTALLNLSDIR=${D}${datadir}/locale' install
+	oe_runmake 'DESTDIR=${D}' 'INSTALLNLSDIR=${D}${datadir}/locale' \
+		'BINDIR=${sbindir}' install
 	install -d ${D}${sysconfdir}/chkconfig.d
 }
 
Signature · 1 line
1.7.10.4