diff options
author | Florian Fainelli <florian@openwrt.org> | 2013-03-22 10:06:06 +0000 |
---|---|---|
committer | Florian Fainelli <florian@openwrt.org> | 2013-03-22 10:06:06 +0000 |
commit | 9cba62ed1abcd3d424f108009061b3f4e6545bdf (patch) | |
tree | c556e981d485031f93f77369a6257e373592082b /package/admswconfig/Makefile | |
parent | c697edaab210191776078964cd10faa5abaa35da (diff) | |
download | master-187ad058-9cba62ed1abcd3d424f108009061b3f4e6545bdf.tar.gz master-187ad058-9cba62ed1abcd3d424f108009061b3f4e6545bdf.tar.bz2 master-187ad058-9cba62ed1abcd3d424f108009061b3f4e6545bdf.zip |
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>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@36107 3c298f89-4303-0410-b956-a3cf2f4a3e73
Diffstat (limited to 'package/admswconfig/Makefile')
0 files changed, 0 insertions, 0 deletions