base-files: Allow installation of symlinks using RAMFS_COPY_BIN env var.
authorblogic <blogic@3c298f89-4303-0410-b956-a3cf2f4a3e73>
Mon, 2 Jun 2014 12:45:13 +0000 (12:45 +0000)
committerblogic <blogic@3c298f89-4303-0410-b956-a3cf2f4a3e73>
Mon, 2 Jun 2014 12:45:13 +0000 (12:45 +0000)
http://patchwork.openwrt.org/patch/5086/

Signed-off-by: karl.vogel@gmail.com
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@40943 3c298f89-4303-0410-b956-a3cf2f4a3e73

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

index ecf1a98..c817ccb 100644 (file)
@@ -69,7 +69,7 @@ run_ramfs() { # <command> [...]
        install_bin /usr/sbin/ubirmvol
        install_bin /usr/sbin/ubimkvol
        for file in $RAMFS_COPY_BIN; do
-               install_bin $file
+               install_bin ${file//:/ }
        done
        install_file /etc/resolv.conf /lib/functions.sh /lib/functions/*.sh /lib/upgrade/*.sh $RAMFS_COPY_DATA