install missing busybox symlinks for sysupgrade (patch by Frédéric Moulins)
authorFelix Fietkau <nbd@openwrt.org>
Thu, 25 Sep 2008 11:31:35 +0000 (11:31 +0000)
committerFelix Fietkau <nbd@openwrt.org>
Thu, 25 Sep 2008 11:31:35 +0000 (11:31 +0000)
SVN-Revision: 12695

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

index 7fc31e8b452bb35d71241482f6dfae5befc9d51c..cf8977a5f2c0cd5373c87ebd205b3f36e7571033 100644 (file)
@@ -45,7 +45,7 @@ pivot() { # <new_root> <old_root>
 }
 
 run_ramfs() { # <command> [...]
-       install_bin /bin/busybox /bin/ash /bin/sh /bin/mount /bin/umount /sbin/pivot_root /usr/bin/wget /sbin/reboot /bin/sync /bin/dd /bin/grep /bin/cp /bin/mv /bin/tar /usr/bin/md5sum "/usr/bin/[" /bin/vi /bin/ls /bin/cat
+       install_bin /bin/busybox /bin/ash /bin/sh /bin/mount /bin/umount /sbin/pivot_root /usr/bin/wget /sbin/reboot /bin/sync /bin/dd /bin/grep /bin/cp /bin/mv /bin/tar /usr/bin/md5sum "/usr/bin/[" /bin/vi /bin/ls /bin/cat /usr/bin/awk /usr/bin/hexdump
        install_bin /sbin/mtd
        for file in $RAMFS_COPY_BIN; do
                install_bin $file