base-files: fix ramfs / nand upgrade
authorJohn Crispin <john@openwrt.org>
Tue, 1 Jul 2014 10:26:14 +0000 (10:26 +0000)
committerJohn Crispin <john@openwrt.org>
Tue, 1 Jul 2014 10:26:14 +0000 (10:26 +0000)
/lib/{imx6,lantiq,...}.sh are needed in the ramfs for sysupgrade to work.

Signed-off-by: John Crispin <blogic@openwrt.org>
SVN-Revision: 41440

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

index b641f55156bca7053495be025feb0e669891ebe4..6f1880fba6c5a458394e7b9bfff5e5f2fcda4d16 100644 (file)
@@ -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