aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJohn Crispin <john@openwrt.org>2014-07-01 10:26:14 +0000
committerJohn Crispin <john@openwrt.org>2014-07-01 10:26:14 +0000
commit66ae4803e26d97297ced6f1586be66d5e12e7341 (patch)
treefa49efc33a43fba041c4ba944e346c4bc2e134f1
parentea535a9565bd22327cf95e74d13400c8bfb2d523 (diff)
downloadupstream-66ae4803e26d97297ced6f1586be66d5e12e7341.tar.gz
upstream-66ae4803e26d97297ced6f1586be66d5e12e7341.tar.bz2
upstream-66ae4803e26d97297ced6f1586be66d5e12e7341.zip
base-files: fix ramfs / nand upgrade
/lib/{imx6,lantiq,...}.sh are needed in the ramfs for sysupgrade to work. Signed-off-by: John Crispin <blogic@openwrt.org> SVN-Revision: 41440
-rw-r--r--package/base-files/files/lib/upgrade/common.sh2
1 files changed, 1 insertions, 1 deletions
diff --git a/package/base-files/files/lib/upgrade/common.sh b/package/base-files/files/lib/upgrade/common.sh
index b641f55156..6f1880fba6 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() { # <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