From: Wenzong Fan Date: Thu, 6 Jun 2013 09:28:10 +0000 (+0800) Subject: chkconfig: fix QA warning about unsafe references in binaries X-Git-Tag: lucaceresoli/bug-15201-perf-libtraceevent-missing~37107 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=18f5e6b80e1465e00242a2513a4bd90e0a2f3ff7;p=thirdparty%2Fopenembedded%2Fopenembedded-core-contrib.git chkconfig: fix QA warning about unsafe references in binaries 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 Signed-off-by: Wenzong Fan Signed-off-by: Saul Wold --- diff --git a/meta/recipes-extended/chkconfig/chkconfig_1.3.58.bb b/meta/recipes-extended/chkconfig/chkconfig_1.3.58.bb index 4c6985fd39d..c6f8b1d44fd 100644 --- a/meta/recipes-extended/chkconfig/chkconfig_1.3.58.bb +++ b/meta/recipes-extended/chkconfig/chkconfig_1.3.58.bb @@ -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 }