summaryrefslogtreecommitdiff
path: root/meta/recipes-extended/lsb
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:48:42 +0100
commit5b0b880f9c2ab2fa632cad715f3c4c646bb9301f (patch)
tree585aa058e6b924e48debe3e9bf8e6824d32b2880 /meta/recipes-extended/lsb
parent6c5cbb73550639ec71cb9564883253dbe1c09f36 (diff)
downloadopenembedded-core-5b0b880f9c2ab2fa632cad715f3c4c646bb9301f.tar.gz
openembedded-core-5b0b880f9c2ab2fa632cad715f3c4c646bb9301f.tar.bz2
openembedded-core-5b0b880f9c2ab2fa632cad715f3c4c646bb9301f.tar.xz
openembedded-core-5b0b880f9c2ab2fa632cad715f3c4c646bb9301f.zip
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] Signed-off-by: Kang Kai <kai.kang@windriver.com>
Diffstat (limited to 'meta/recipes-extended/lsb')
-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 5fd0584fb..8f7da537e 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"
SECTION = "console/utils"
PRIORITY = "required"
LICENSE = "GPLv2"
-PR = "r1"
+PR = "r2"
LIC_FILES_CHKSUM = "file://LSB_Setup.sh;beginline=3;endline=16;md5=97451c7c0786ce5bbe9ac58042945583"
@@ -14,4 +14,9 @@ do_install() {
# Only install file if it has a contents
install -d ${D}/usr/bin
install -m 0755 ${S}/LSB_Setup.sh ${D}/usr/bin
+ install -d ${D}/usr/lib/lsb
+ ln -sf ${base_sbindir}/chkconfig ${D}/${libdir}/lsb/install_initd
+ ln -sf ${base_sbindir}/chkconfig ${D}/${libdir}/lsb/remove_initd
}
+
+FILES_${PN} += "${libdir}/lsb"