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-diag: add support for e3200 v1 2013-02-24 17:57:28 +00:00
broadcom-wl broadcom-wl: hack to work around a bug in the PCIe controller 2013-02-24 18:01:06 +00:00
busybox busybox: fix disabling /sbin/init and logread if procd is used as init 2013-03-16 01:25:42 +00:00
devel gdb: do not depend on libthread-db when using musl libc 2013-02-26 16:39:59 +00:00
fuse
hotplug2 hotplug2: restore accidentally deleted patch 2013-03-03 17:05:05 +00:00
kernel kernel: add some fixes for kernel 3.9 2013-03-20 21:59:24 +00:00
libs libubox: update to latest version, adds libjson-script 2013-03-13 15:44:08 +00:00
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 switch: export name of device found via /proc 2013-02-14 12:36:52 +00:00
system package/om-watchdog: add OpenMesh MR600v2 support 2013-02-01 15:50:49 +00:00
toolchain toolchain: mark unavailable packages for musl libc 2013-02-26 16:40:02 +00:00
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 udev: Update MAINTAINER info 2013-02-21 23:12:17 +00:00
util-linux
zram-swap
Makefile