aboutsummaryrefslogtreecommitdiffstats
path: root/package/base-files/files/lib
diff options
context:
space:
mode:
authorJo-Philipp Wich <jow@openwrt.org>2010-01-16 13:39:13 +0000
committerJo-Philipp Wich <jow@openwrt.org>2010-01-16 13:39:13 +0000
commit39f2b6d957cd512d95104656da0df5852e463308 (patch)
treed1e9fb60bba83f5648ec2fddf9976ee26df1dbdd /package/base-files/files/lib
parente44b91f7181fc46c4049d2451d57a9d0d785ca14 (diff)
downloadupstream-39f2b6d957cd512d95104656da0df5852e463308.tar.gz
upstream-39f2b6d957cd512d95104656da0df5852e463308.tar.bz2
upstream-39f2b6d957cd512d95104656da0df5852e463308.zip
base-files: sysupgade library coomon.sh has "bug" in glibc enviorement. For some reason ld-linux.so.3 is not installed at ramfs and sysupgrade always fails. Signed-off-by: Zintis Petersons <zintis.petersons@e-mail.lv>
SVN-Revision: 19167
Diffstat (limited to 'package/base-files/files/lib')
-rw-r--r--package/base-files/files/lib/upgrade/common.sh3
1 files changed, 3 insertions, 0 deletions
diff --git a/package/base-files/files/lib/upgrade/common.sh b/package/base-files/files/lib/upgrade/common.sh
index ff3012bcc1..3beb6484d8 100644
--- a/package/base-files/files/lib/upgrade/common.sh
+++ b/package/base-files/files/lib/upgrade/common.sh
@@ -21,6 +21,9 @@ install_bin() { # <file> [ <symlink> ... ]
files=$1
[ -x "$src" ] && files="$src $(libs $src)"
install_file $files
+ [ -e /lib/ld-linux.so.3 ] && {
+ install_file /lib/ld-linux.so.3
+ }
shift
for link in "$@"; do {
dest="$RAM_ROOT/$link"