summaryrefslogtreecommitdiffstats
path: root/meta/recipes-extended
diff options
context:
space:
mode:
authorKang Kai <kai.kang@windriver.com>2011-04-27 16:16:46 +0800
committerRichard Purdie <richard.purdie@linuxfoundation.org>2011-05-04 00:54:34 +0100
commit5cd5efb66f1e6050d00a7f3e3c15f0e9e2fb4bb4 (patch)
treeec87244a2b7ffe2f16948fd63081764af65b1d05 /meta/recipes-extended
parentd2c84ea13d1f019f0effe270dab8e2e8ce8a61d6 (diff)
downloadpoky-5cd5efb66f1e6050d00a7f3e3c15f0e9e2fb4bb4.tar.gz
lsbsetup: add commands install_initd and remove_initd
Add commands install_initd and remove_initd link to chkconfig, which can handler LSB format init.d scripts. Needed by LSB commands check. Bump PR to r2 Part fixes [Yocto 520] (From OE-Core rev: 5b0b880f9c2ab2fa632cad715f3c4c646bb9301f) Signed-off-by: Kang Kai <kai.kang@windriver.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta/recipes-extended')
-rw-r--r--meta/recipes-extended/lsb/lsbsetup_0.9.bb7
1 files changed, 6 insertions, 1 deletions
diff --git a/meta/recipes-extended/lsb/lsbsetup_0.9.bb b/meta/recipes-extended/lsb/lsbsetup_0.9.bb
index 5fd0584fb1..8f7da537eb 100644
--- a/meta/recipes-extended/lsb/lsbsetup_0.9.bb
+++ b/meta/recipes-extended/lsb/lsbsetup_0.9.bb
@@ -2,7 +2,7 @@ DESCRIPTION = "auto-setup environment for lsb test"
2SECTION = "console/utils" 2SECTION = "console/utils"
3PRIORITY = "required" 3PRIORITY = "required"
4LICENSE = "GPLv2" 4LICENSE = "GPLv2"
5PR = "r1" 5PR = "r2"
6 6
7LIC_FILES_CHKSUM = "file://LSB_Setup.sh;beginline=3;endline=16;md5=97451c7c0786ce5bbe9ac58042945583" 7LIC_FILES_CHKSUM = "file://LSB_Setup.sh;beginline=3;endline=16;md5=97451c7c0786ce5bbe9ac58042945583"
8 8
@@ -14,4 +14,9 @@ do_install() {
14 # Only install file if it has a contents 14 # Only install file if it has a contents
15 install -d ${D}/usr/bin 15 install -d ${D}/usr/bin
16 install -m 0755 ${S}/LSB_Setup.sh ${D}/usr/bin 16 install -m 0755 ${S}/LSB_Setup.sh ${D}/usr/bin
17 install -d ${D}/usr/lib/lsb
18 ln -sf ${base_sbindir}/chkconfig ${D}/${libdir}/lsb/install_initd
19 ln -sf ${base_sbindir}/chkconfig ${D}/${libdir}/lsb/remove_initd
17} 20}
21
22FILES_${PN} += "${libdir}/lsb"