mirror of
https://git.yoctoproject.org/poky
synced 2026-05-30 12:29:55 +00:00
lsb: move links from lsbsetup to here
Because package lsbsetup is dropped, move the links created for LSB test to package lsb. (From OE-Core rev: 7659ad17799672d48c4d8614e830b7e60a1e971a) Signed-off-by: Kang Kai <kai.kang@windriver.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
This commit is contained in:
@@ -2,7 +2,7 @@ DESCRIPTION = "LSB support for OpenEmbedded"
|
|||||||
SECTION = "console/utils"
|
SECTION = "console/utils"
|
||||||
HOMEPAGE = "http://prdownloads.sourceforge.net/lsb"
|
HOMEPAGE = "http://prdownloads.sourceforge.net/lsb"
|
||||||
LICENSE = "GPLv2+"
|
LICENSE = "GPLv2+"
|
||||||
PR = "r0"
|
PR = "r1"
|
||||||
|
|
||||||
# lsb_release needs getopt
|
# lsb_release needs getopt
|
||||||
RDEPENDS_${PN} += "util-linux"
|
RDEPENDS_${PN} += "util-linux"
|
||||||
@@ -73,6 +73,13 @@ do_install_append(){
|
|||||||
install -m 0755 ${WORKDIR}/${i} ${D}${sysconfdir}/core-lsb
|
install -m 0755 ${WORKDIR}/${i} ${D}${sysconfdir}/core-lsb
|
||||||
done
|
done
|
||||||
install -m 0755 ${WORKDIR}/init-functions ${D}/${baselib}/lsb
|
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
|
if [ "${TARGET_ARCH}" = "x86_64" ];then
|
||||||
cd ${D}
|
cd ${D}
|
||||||
if [ "${baselib}" != "lib64" ]; then
|
if [ "${baselib}" != "lib64" ]; then
|
||||||
@@ -105,4 +112,5 @@ do_install_append(){
|
|||||||
}
|
}
|
||||||
FILES_${PN} += "/lib64 \
|
FILES_${PN} += "/lib64 \
|
||||||
${base_libdir}/lsb/* \
|
${base_libdir}/lsb/* \
|
||||||
|
${libdir}/sendmail \
|
||||||
"
|
"
|
||||||
|
|||||||
Reference in New Issue
Block a user