package/base-files: copy /lib/functions.sh to the ramfs on sysupgrade
authorGabor Juhos <juhosg@openwrt.org>
Wed, 23 May 2012 21:05:20 +0000 (21:05 +0000)
committerGabor Juhos <juhosg@openwrt.org>
Wed, 23 May 2012 21:05:20 +0000 (21:05 +0000)
SVN-Revision: 31842

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

index e97958bf9b7af3d45ead097d45dd7bcf50bd150c..8f19d3e86e0d94edbe2f0d6d3a190902fa8e3024 100644 (file)
@@ -58,7 +58,7 @@ run_ramfs() { # <command> [...]
        for file in $RAMFS_COPY_BIN; do
                install_bin $file
        done
-       install_file /etc/resolv.conf /etc/functions.sh /lib/upgrade/*.sh $RAMFS_COPY_DATA
+       install_file /etc/resolv.conf /etc/functions.sh /lib/functions.sh /lib/upgrade/*.sh $RAMFS_COPY_DATA
 
        pivot $RAM_ROOT /mnt || {
                echo "Failed to switch over to ramfs. Please reboot."