openwrtv4/package/base-files/files
Jonas Gorski 2e95b1fda7 base-files: properly fix copying ld*.so with eglibc
r36107 ("base-files: sysupgrade fail with eglibc") tried to fix
sysupgrade by changing the ld-soname to what is expected, but only
fixed MIPS while breaking ARM.

The underlying issue is that the ld.so name varies widely across
different architectures for eglibc:

eglibc-2.19-r25243$ grep -r "ld-soname :=" . | awk '{ print $3 }' | sort -u
ld64.so.1
ld64.so.2
ld-linux-aarch64_be.so.1
ld-linux-aarch64.so.1
ld-linux-armhf.so.3
ld-linux-mipsn8.so.1
ld-linux.so.2
ld-linux.so.3
ld-linux-x32.so.2
ld-linux-x86-64.so.2
ld.so.1

Instead of adding each different soname to check for and copy it,
replace the awk script with a sed script to extract it properly and
drop the hardcoded so-name.

Signed-off-by: Jonas Gorski <jogo@openwrt.org>

SVN-Revision: 43295
2014-11-18 15:19:46 +00:00
..
bin base-files: config_generate did not handle setups with more than 1 switch properly 2014-10-27 15:51:17 +00:00
etc failsafe-mode: print short help on commandline 2014-10-20 06:29:05 +00:00
lib base-files: properly fix copying ld*.so with eglibc 2014-11-18 15:19:46 +00:00
rom rename default/ to files/ 2006-11-22 23:30:57 +00:00
sbin scripts: fix wrong usage of '==' operator 2014-10-14 12:21:11 +00:00