diff options
author | Kang Kai <kai.kang@windriver.com> | 2012-11-22 11:25:47 +0800 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2012-11-24 15:12:05 +0000 |
commit | 7659ad17799672d48c4d8614e830b7e60a1e971a (patch) | |
tree | c0c739e02ffe53706a1b1ce9b67a4973298a7d6e /meta/recipes-extended | |
parent | f3be2b1e5e100a953d6d7fbbb19a77a5c4d547e1 (diff) | |
download | openembedded-core-7659ad17799672d48c4d8614e830b7e60a1e971a.tar.gz openembedded-core-7659ad17799672d48c4d8614e830b7e60a1e971a.tar.bz2 openembedded-core-7659ad17799672d48c4d8614e830b7e60a1e971a.zip |
lsb: move links from lsbsetup to here
Because package lsbsetup is dropped, move the links created for LSB test
to package lsb.
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/lsb_4.1.bb | 10 |
1 files changed, 9 insertions, 1 deletions
diff --git a/meta/recipes-extended/lsb/lsb_4.1.bb b/meta/recipes-extended/lsb/lsb_4.1.bb index 55ea241783..01368b334b 100644 --- a/meta/recipes-extended/lsb/lsb_4.1.bb +++ b/meta/recipes-extended/lsb/lsb_4.1.bb @@ -2,7 +2,7 @@ DESCRIPTION = "LSB support for OpenEmbedded" SECTION = "console/utils" HOMEPAGE = "http://prdownloads.sourceforge.net/lsb" LICENSE = "GPLv2+" -PR = "r0" +PR = "r1" # lsb_release needs getopt RDEPENDS_${PN} += "util-linux" @@ -73,6 +73,13 @@ do_install_append(){ install -m 0755 ${WORKDIR}/${i} ${D}${sysconfdir}/core-lsb done install -m 0755 ${WORKDIR}/init-functions ${D}/${baselib}/lsb + + # creat links for LSB test + 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 + ln -sf ${sbindir}/sendmail ${D}/${libdir}/sendmail + if [ "${TARGET_ARCH}" = "x86_64" ];then cd ${D} if [ "${baselib}" != "lib64" ]; then @@ -105,4 +112,5 @@ do_install_append(){ } FILES_${PN} += "/lib64 \ ${base_libdir}/lsb/* \ + ${libdir}/sendmail \ " |