From: John Crispin Date: Tue, 1 Jul 2014 10:26:14 +0000 (+0000) Subject: base-files: fix ramfs / nand upgrade X-Git-Url: http://git.lede-project.org./?a=commitdiff_plain;h=66ae4803e26d97297ced6f1586be66d5e12e7341;p=openwrt%2Fstaging%2Frmilecki.git base-files: fix ramfs / nand upgrade /lib/{imx6,lantiq,...}.sh are needed in the ramfs for sysupgrade to work. Signed-off-by: John Crispin SVN-Revision: 41440 --- diff --git a/package/base-files/files/lib/upgrade/common.sh b/package/base-files/files/lib/upgrade/common.sh index b641f55156b..6f1880fba6c 100644 --- a/package/base-files/files/lib/upgrade/common.sh +++ b/package/base-files/files/lib/upgrade/common.sh @@ -74,7 +74,7 @@ run_ramfs() { # [...] 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