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

(From OE-Core rev: 18f5e6b80e1465e00242a2513a4bd90e0a2f3ff7)

Signed-off-by: Wenzong Fan <wenzong.fan@windriver.com>
Signed-off-by: Saul Wold <sgw@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
This commit is contained in:
Wenzong Fan 2013-06-06 17:28:10 +08:00 committed by Richard Purdie
parent 95e23df258
commit e486242db8
1 changed files with 2 additions and 1 deletions

View File

@ -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
}