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:30 +0000 |
| commit | cffd1a933feed20d1a1c96afdacfa4fdaf8ece24 (patch) | |
| tree | 2a71ef2dc256133060c880ff5bca891df9ba9652 /meta/recipes-extended/lsb | |
| parent | d3dbfd6fe0affa403784a66aaef77950c59b2a4a (diff) | |
| download | poky-cffd1a933feed20d1a1c96afdacfa4fdaf8ece24.tar.gz | |
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>
Diffstat (limited to 'meta/recipes-extended/lsb')
| -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" | |||
| 2 | SECTION = "console/utils" | 2 | SECTION = "console/utils" |
| 3 | HOMEPAGE = "http://prdownloads.sourceforge.net/lsb" | 3 | HOMEPAGE = "http://prdownloads.sourceforge.net/lsb" |
| 4 | LICENSE = "GPLv2+" | 4 | LICENSE = "GPLv2+" |
| 5 | PR = "r0" | 5 | PR = "r1" |
| 6 | 6 | ||
| 7 | # lsb_release needs getopt | 7 | # lsb_release needs getopt |
| 8 | RDEPENDS_${PN} += "util-linux" | 8 | RDEPENDS_${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 | } |
| 106 | FILES_${PN} += "/lib64 \ | 113 | FILES_${PN} += "/lib64 \ |
| 107 | ${base_libdir}/lsb/* \ | 114 | ${base_libdir}/lsb/* \ |
| 115 | ${libdir}/sendmail \ | ||
| 108 | " | 116 | " |
