Openwrt/package
Florian Fainelli 3810cc0f46 base-files: sysupgrade fail with eglibc
With eglibc, "ldd busybox" give us
    libcrypt.so.1 => /lib/libcrypt.so.1 (0x774be000)
    libm.so.6 => /lib/libm.so.6 (0x773e4000)
    libgcc_s.so.1 => /lib/libgcc_s.so.1 (0x773c0000)
    libc.so.6 => /lib/libc.so.6 (0x77276000)
    /lib/ld.so.1 (0x774fe000)

Thus /lib/ld.so.1 is not printed by the libs fonction and isn't copied to the 'new' root before pivot root
libs() { ldd $* | awk '{print $3}'; }
https://dev.openwrt.org/browser/trunk/package/base-files/files/lib/upgrade/common.sh

With uclibc the last line of "ldd busybox" is
    ld-uClibc.so.0 => /lib/ld-uClibc.so.0 (0x77ada000)

Don't know for musl!

This patch replace https://dev.openwrt.org/changeset/19167, as glibc is gone
The other way around is to rework libs()

Please apply the fix (mine or another) on trunk and AA
Might fix https://dev.openwrt.org/ticket/12273

Signed-off-by: Etienne CHAMPETIER <etienne.champetier@free.fr>
Signed-off-by: Florian Fainelli <florian@openwrt.org>

SVN-Revision: 36107
2013-03-22 10:06:06 +00:00
..
acx-mac80211
admswconfig
apex
base-files base-files: sysupgrade fail with eglibc 2013-03-22 10:06:06 +00:00
block-mount
boot uboot-envtools: upgrade to version 2013.01.01 2013-03-15 01:36:53 +00:00
broadcom-diag
broadcom-wl
busybox busybox: fix disabling /sbin/init and logread if procd is used as init 2013-03-16 01:25:42 +00:00
devel
fuse
hotplug2
kernel kernel: add some fixes for kernel 3.9 2013-03-20 21:59:24 +00:00
libs
linux-atm
lua
mac80211 mac80211: merge a few minstrel_ht performance improvements 2013-03-16 16:11:43 +00:00
mkelfimage
mountd
mtd
network firewall3: update to git head 2013-03-21 14:25:17 +00:00
opkg
platform/lantiq add vdsl firmware loader/cutter 2013-03-14 18:43:29 +00:00
procd fix up the mount options to match what openwrt had before using procd as pid 1 2013-03-14 18:44:03 +00:00
px5g
switch
system
toolchain
trelay
ubus ubus: update to latest version, fixes a bug in notify return code handling 2013-03-17 17:43:47 +00:00
uci
udev
util-linux
zram-swap
Makefile