Browse Source

base-files: fix ramfs / nand upgrade

/lib/{imx6,lantiq,...}.sh are needed in the ramfs for sysupgrade to work.

Signed-off-by: John Crispin <[email protected]>

SVN-Revision: 41440
John Crispin 11 years ago
parent
commit
66ae4803e2
1 changed files with 1 additions and 1 deletions
  1. 1 1
      package/base-files/files/lib/upgrade/common.sh

+ 1 - 1
package/base-files/files/lib/upgrade/common.sh

@@ -74,7 +74,7 @@ run_ramfs() { # <command> [...]
 	for file in $RAMFS_COPY_BIN; do
 		install_bin ${file//:/ }
 	done
-	install_file /etc/resolv.conf /lib/functions.sh /lib/functions/*.sh /lib/upgrade/*.sh $RAMFS_COPY_DATA
+	install_file /etc/resolv.conf /lib/*.sh /lib/functions/*.sh /lib/upgrade/*.sh $RAMFS_COPY_DATA
 
 	[ -L "/lib64" ] && ln -s /lib $RAM_ROOT/lib64