LSB Command Check: fix install_initd and remove_initd not found
The install_initd and remove_initd are linked to /sbin/chkconfig for lsb
core test, but chkconfig has been moved from /sbin to /usr/sbin in order
to fix QA warning about unsafe references in binaries.
(In commit e486242db8
)
Let install_initd and remove_initd link to /usr/sbin/chkconfig could fix
this issue.
[YOCTO #5152]
(From OE-Core rev: 789c4c13c5095a2865d1ee1b242141b5b076bed5)
Signed-off-by: Hongxu Jia <hongxu.jia@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
This commit is contained in:
parent
58324d8c09
commit
34e875e7ec
|
@ -79,8 +79,8 @@ do_install_append(){
|
||||||
|
|
||||||
# creat links for LSB test
|
# creat links for LSB test
|
||||||
install -d ${D}/${libdir}/lsb
|
install -d ${D}/${libdir}/lsb
|
||||||
ln -sf ${base_sbindir}/chkconfig ${D}/${libdir}/lsb/install_initd
|
ln -sf ${sbindir}/chkconfig ${D}/${libdir}/lsb/install_initd
|
||||||
ln -sf ${base_sbindir}/chkconfig ${D}/${libdir}/lsb/remove_initd
|
ln -sf ${sbindir}/chkconfig ${D}/${libdir}/lsb/remove_initd
|
||||||
ln -sf ${sbindir}/sendmail ${D}/${libdir}/sendmail
|
ln -sf ${sbindir}/sendmail ${D}/${libdir}/sendmail
|
||||||
|
|
||||||
if [ "${TARGET_ARCH}" = "x86_64" ];then
|
if [ "${TARGET_ARCH}" = "x86_64" ];then
|
||||||
|
|
Loading…
Reference in New Issue