From 39f2b6d957cd512d95104656da0df5852e463308 Mon Sep 17 00:00:00 2001 From: Jo-Philipp Wich Date: Sat, 16 Jan 2010 13:39:13 +0000 Subject: [PATCH] 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 SVN-Revision: 19167 --- package/base-files/Makefile | 2 +- package/base-files/files/lib/upgrade/common.sh | 3 +++ 2 files changed, 4 insertions(+), 1 deletion(-) diff --git a/package/base-files/Makefile b/package/base-files/Makefile index 67837120b6..ea2b5a47f1 100644 --- a/package/base-files/Makefile +++ b/package/base-files/Makefile @@ -9,7 +9,7 @@ include $(TOPDIR)/rules.mk include $(INCLUDE_DIR)/kernel.mk PKG_NAME:=base-files -PKG_RELEASE:=34 +PKG_RELEASE:=35 PKG_FILE_DEPENDS:=$(PLATFORM_DIR)/ $(GENERIC_PLATFORM_DIR)/base-files/ 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() { # [ ... ] 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"