summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--meta/recipes-extended/lsb/lsb_4.1.bb10
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"
2SECTION = "console/utils" 2SECTION = "console/utils"
3HOMEPAGE = "http://prdownloads.sourceforge.net/lsb" 3HOMEPAGE = "http://prdownloads.sourceforge.net/lsb"
4LICENSE = "GPLv2+" 4LICENSE = "GPLv2+"
5PR = "r0" 5PR = "r1"
6 6
7# lsb_release needs getopt 7# lsb_release needs getopt
8RDEPENDS_${PN} += "util-linux" 8RDEPENDS_${PN} += "util-linux"
@@ -73,6 +73,13 @@ do_install_append(){
73 install -m 0755 ${WORKDIR}/${i} ${D}${sysconfdir}/core-lsb 73 install -m 0755 ${WORKDIR}/${i} ${D}${sysconfdir}/core-lsb
74 done 74 done
75 install -m 0755 ${WORKDIR}/init-functions ${D}/${baselib}/lsb 75 install -m 0755 ${WORKDIR}/init-functions ${D}/${baselib}/lsb
76
77 # creat links for LSB test
78 install -d ${D}/${libdir}/lsb
79 ln -sf ${base_sbindir}/chkconfig ${D}/${libdir}/lsb/install_initd
80 ln -sf ${base_sbindir}/chkconfig ${D}/${libdir}/lsb/remove_initd
81 ln -sf ${sbindir}/sendmail ${D}/${libdir}/sendmail
82
76 if [ "${TARGET_ARCH}" = "x86_64" ];then 83 if [ "${TARGET_ARCH}" = "x86_64" ];then
77 cd ${D} 84 cd ${D}
78 if [ "${baselib}" != "lib64" ]; then 85 if [ "${baselib}" != "lib64" ]; then
@@ -105,4 +112,5 @@ do_install_append(){
105} 112}
106FILES_${PN} += "/lib64 \ 113FILES_${PN} += "/lib64 \
107 ${base_libdir}/lsb/* \ 114 ${base_libdir}/lsb/* \
115 ${libdir}/sendmail \
108 " 116 "