[oe-commits] Richard Purdie : apt-native: Drop obsolete symlinks

git at git.openembedded.org git at git.openembedded.org
Tue Jun 23 15:15:13 UTC 2015


Module: openembedded-core.git
Branch: master
Commit: 8c73bb7949656d91f138c087b9d261cdce90a94b
URL:    http://git.openembedded.org/?p=openembedded-core.git&a=commit;h=8c73bb7949656d91f138c087b9d261cdce90a94b

Author: Richard Purdie <richard.purdie at linuxfoundation.org>
Date:   Tue Jun 23 15:13:35 2015 +0100

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 <richard.purdie at linuxfoundation.org>

---

 meta/recipes-devtools/apt/apt-native.inc | 4 ----
 1 file changed, 4 deletions(-)

diff --git a/meta/recipes-devtools/apt/apt-native.inc b/meta/recipes-devtools/apt/apt-native.inc
index 567eb0c..27cc9ff 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/



More information about the Openembedded-commits mailing list