From: Richard Purdie Date: Tue, 23 Jun 2015 14:13:35 +0000 (+0100) Subject: apt-native: Drop obsolete symlinks X-Git-Tag: 2015-10~1481 X-Git-Url: https://code.ossystems.io/gitweb?a=commitdiff_plain;h=8c73bb7949656d91f138c087b9d261cdce90a94b;p=openembedded-core.git apt-native: Drop obsolete symlinks Apt no longer uses GLIBC_VER and LIBSTDCPP_VER variables nor appears to need these odd symlinks. The variables expand to empty enties which then create symlinks which loop back on themselves. To fix, drop the obsolete code. Signed-off-by: Richard Purdie --- diff --git a/meta/recipes-devtools/apt/apt-native.inc b/meta/recipes-devtools/apt/apt-native.inc index 567eb0ca73..27cc9ff0b5 100644 --- a/meta/recipes-devtools/apt/apt-native.inc +++ b/meta/recipes-devtools/apt/apt-native.inc @@ -47,12 +47,8 @@ do_install_base () { oe_libinstall -so -C bin libapt-private ${D}${libdir}/ - eval `cat environment.mak | grep ^GLIBC_VER | sed -e's, = ,=,'` - eval `cat environment.mak | grep ^LIBSTDCPP_VER | sed -e's, = ,=,'` oe_libinstall -so -C bin libapt-pkg$GLIBC_VER$LIBSTDCPP_VER ${D}${libdir}/ - ln -sf libapt-pkg$GLIBC_VER$LIBSTDCPP_VER.so ${D}${libdir}/libapt-pkg.so oe_libinstall -so -C bin libapt-inst$GLIBC_VER$LIBSTDCPP_VER ${D}${libdir}/ - ln -sf libapt-inst$GLIBC_VER$LIBSTDCPP_VER.so ${D}${libdir}/libapt-inst.so install -d ${D}${libdir}/apt/methods install -m 0755 bin/methods/* ${D}${libdir}/apt/methods/