diff options
| -rw-r--r-- | meta/recipes-extended/lsb/lsb_4.1.bb | 10 |
1 files changed, 6 insertions, 4 deletions
diff --git a/meta/recipes-extended/lsb/lsb_4.1.bb b/meta/recipes-extended/lsb/lsb_4.1.bb index cedf39eb65..c8db1a8156 100644 --- a/meta/recipes-extended/lsb/lsb_4.1.bb +++ b/meta/recipes-extended/lsb/lsb_4.1.bb | |||
| @@ -90,11 +90,13 @@ do_install_append() { | |||
| 90 | install -m 0755 ${WORKDIR}/init-functions ${D}${nonarch_base_libdir}/lsb | 90 | install -m 0755 ${WORKDIR}/init-functions ${D}${nonarch_base_libdir}/lsb |
| 91 | 91 | ||
| 92 | # create links for LSB test | 92 | # create links for LSB test |
| 93 | if [ "${nonarch_base_libdir}" != "${nonarch_libdir}" ] ; then | 93 | if [ -e ${sbindir}/chkconfig ]; then |
| 94 | install -d ${D}${nonarch_libdir}/lsb | 94 | if [ "${nonarch_base_libdir}" != "${nonarch_libdir}" ] ; then |
| 95 | install -d ${D}${nonarch_libdir}/lsb | ||
| 96 | fi | ||
| 97 | ln -sf ${sbindir}/chkconfig ${D}${nonarch_libdir}/lsb/install_initd | ||
| 98 | ln -sf ${sbindir}/chkconfig ${D}${nonarch_libdir}/lsb/remove_initd | ||
| 95 | fi | 99 | fi |
| 96 | ln -sf ${sbindir}/chkconfig ${D}${nonarch_libdir}/lsb/install_initd | ||
| 97 | ln -sf ${sbindir}/chkconfig ${D}${nonarch_libdir}/lsb/remove_initd | ||
| 98 | 100 | ||
| 99 | if [ "${TARGET_ARCH}" = "x86_64" ]; then | 101 | if [ "${TARGET_ARCH}" = "x86_64" ]; then |
| 100 | if [ "${base_libdir}" != "${base_prefix}/lib64" ]; then | 102 | if [ "${base_libdir}" != "${base_prefix}/lib64" ]; then |
