summaryrefslogtreecommitdiff
path: root/package/base-files/files
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 /package/base-files/files
parentea535a9565bd22327cf95e74d13400c8bfb2d523 (diff)
downloadmtk-20170518-66ae4803e26d97297ced6f1586be66d5e12e7341.zip
mtk-20170518-66ae4803e26d97297ced6f1586be66d5e12e7341.tar.gz
mtk-20170518-66ae4803e26d97297ced6f1586be66d5e12e7341.tar.bz2
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
Diffstat (limited to 'package/base-files/files')
-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 b641f55..6f1880f 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