chkconfig: add link files install_initd and remove_initd
Add link files ${libdir}/lsb/{install,remove}_initd that they are required by LSB tests. They were created by package lsbsetup, but lsbsetup was dropped, so create them in chkconfig. (From OE-Core rev: 268ede582e7b68854965b29a57e865b5fc7deb04) Signed-off-by: Kang Kai <kai.kang@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:
parent
0f872d91f4
commit
5283be2305
|
@ -12,7 +12,7 @@ LIC_FILES_CHKSUM = "file://COPYING;md5=5574c6965ae5f583e55880e397fbb018"
|
|||
|
||||
DEPENDS = "libnewt popt"
|
||||
|
||||
PR = "r3"
|
||||
PR = "r4"
|
||||
|
||||
SRC_URI = "http://fedorahosted.org/releases/c/h/chkconfig/${BPN}-${PV}.tar.bz2"
|
||||
|
||||
|
@ -30,3 +30,11 @@ do_install_append() {
|
|||
mkdir -p ${D}${sysconfdir}/chkconfig.d
|
||||
rm -f ${D}${sbindir}/update-alternatives
|
||||
}
|
||||
|
||||
do_install_append_linuxstdbase() {
|
||||
install -d ${D}${libdir}/lsb/
|
||||
ln -sf ${base_sbindir}/chkconfig ${D}/${libdir}/lsb/install_initd
|
||||
ln -sf ${base_sbindir}/chkconfig ${D}/${libdir}/lsb/remove_initd
|
||||
}
|
||||
|
||||
FILES_${PN}_append_linuxstdbase += "${libdir}/lsb"
|
||||
|
|
Loading…
Reference in New Issue