Browse Source

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 <[email protected]>

SVN-Revision: 19167
Jo-Philipp Wich 16 years ago
parent
commit
39f2b6d957
2 changed files with 4 additions and 1 deletions
  1. 1 1
      package/base-files/Makefile
  2. 3 0
      package/base-files/files/lib/upgrade/common.sh

+ 1 - 1
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/
 

+ 3 - 0
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"