summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorKang Kai <kai.kang@windriver.com>2012-11-21 17:38:43 +0800
committerRichard Purdie <richard.purdie@linuxfoundation.org>2012-12-06 12:31:02 +0000
commit5283be2305b157b3fbc61b5f2cce0c65100c9b4a (patch)
tree2e6744e8ba21bd3753b8c9f92d5f038f093f608e
parent0f872d91f400e64ab4a1bffb014970335ec37da2 (diff)
downloadpoky-5283be2305b157b3fbc61b5f2cce0c65100c9b4a.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. (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>
-rw-r--r--meta/recipes-extended/chkconfig/chkconfig_1.3.58.bb10
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 0f6398f57e..fd7bd1a111 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"
12 12
13DEPENDS = "libnewt popt" 13DEPENDS = "libnewt popt"
14 14
15PR = "r3" 15PR = "r4"
16 16
17SRC_URI = "http://fedorahosted.org/releases/c/h/chkconfig/${BPN}-${PV}.tar.bz2" 17SRC_URI = "http://fedorahosted.org/releases/c/h/chkconfig/${BPN}-${PV}.tar.bz2"
18 18
@@ -30,3 +30,11 @@ do_install_append() {
30 mkdir -p ${D}${sysconfdir}/chkconfig.d 30 mkdir -p ${D}${sysconfdir}/chkconfig.d
31 rm -f ${D}${sbindir}/update-alternatives 31 rm -f ${D}${sbindir}/update-alternatives
32} 32}
33
34do_install_append_linuxstdbase() {
35 install -d ${D}${libdir}/lsb/
36 ln -sf ${base_sbindir}/chkconfig ${D}/${libdir}/lsb/install_initd
37 ln -sf ${base_sbindir}/chkconfig ${D}/${libdir}/lsb/remove_initd
38}
39
40FILES_${PN}_append_linuxstdbase += "${libdir}/lsb"