Skip to contentSkip to conversation

apt-native: Drop obsolete symlinks

PATCH New Richard Purdie 1 participant 1 message Jun 23, 2015

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 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.

meta/recipes-devtools/apt/apt-native.inc +0 -4
index 567eb0c..27cc9ff 100644
@@ -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/