diff options
author | Kang Kai <kai.kang@windriver.com> | 2012-11-21 17:38:43 +0800 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2012-12-06 12:30:31 +0000 |
commit | 268ede582e7b68854965b29a57e865b5fc7deb04 (patch) | |
tree | 9bc4e75cafd768537399380a3841c3ea9ae51bf1 /meta/recipes-extended | |
parent | 715631e5b8d5fc7dbcc8b8cbca1948f9301e8d68 (diff) | |
download | openembedded-core-contrib-268ede582e7b68854965b29a57e865b5fc7deb04.tar.gz |
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.
Signed-off-by: Kang Kai <kai.kang@windriver.com>
Signed-off-by: Saul Wold <sgw@linux.intel.com>
Diffstat (limited to 'meta/recipes-extended')
-rw-r--r-- | meta/recipes-extended/chkconfig/chkconfig_1.3.58.bb | 10 |
1 files changed, 9 insertions, 1 deletions
diff --git a/meta/recipes-extended/chkconfig/chkconfig_1.3.58.bb b/meta/recipes-extended/chkconfig/chkconfig_1.3.58.bb index 0f6398f57ed..fd7bd1a1116 100644 --- a/meta/recipes-extended/chkconfig/chkconfig_1.3.58.bb +++ b/meta/recipes-extended/chkconfig/chkconfig_1.3.58.bb @@ -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" |