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:31:02 +0000 |
commit | 5283be2305b157b3fbc61b5f2cce0c65100c9b4a (patch) | |
tree | 2e6744e8ba21bd3753b8c9f92d5f038f093f608e | |
parent | 0f872d91f400e64ab4a1bffb014970335ec37da2 (diff) | |
download | poky-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.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 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 | ||
13 | DEPENDS = "libnewt popt" | 13 | DEPENDS = "libnewt popt" |
14 | 14 | ||
15 | PR = "r3" | 15 | PR = "r4" |
16 | 16 | ||
17 | SRC_URI = "http://fedorahosted.org/releases/c/h/chkconfig/${BPN}-${PV}.tar.bz2" | 17 | SRC_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 | |||
34 | do_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 | |||
40 | FILES_${PN}_append_linuxstdbase += "${libdir}/lsb" | ||