base-files: Allow installation of symlinks using RAMFS_COPY_BIN env var.

http://patchwork.openwrt.org/patch/5086/

Signed-off-by: karl.vogel@gmail.com

SVN-Revision: 40943
This commit is contained in:
John Crispin 2014-06-02 12:45:13 +00:00
parent 8e7b9741b0
commit 0de0310a9c

View file

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