base-files: fix sysupgrade 'wget' handling
authorFelix Fietkau <nbd@openwrt.org>
Fri, 22 Jan 2016 09:41:58 +0000 (09:41 +0000)
committerFelix Fietkau <nbd@openwrt.org>
Fri, 22 Jan 2016 09:41:58 +0000 (09:41 +0000)
with r48379 and r48386 the path of wget changed.
respect that and adjust the dirname.

this fixes #21680

Signed-off-by: Bastian Bittorf <bittorf@bluebottle.com>
SVN-Revision: 48451

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

index 761b4c17957e2cf63b88025520b6fba59c890255..adf290cb82b038395c43c0099a2a1ce3272b2f8a 100644 (file)
@@ -48,7 +48,7 @@ supivot() { # <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   \
+               /sbin/pivot_root /bin/wget /sbin/reboot /bin/sync /bin/dd       \
                /bin/grep /bin/cp /bin/mv /bin/tar /usr/bin/md5sum "/usr/bin/[" \
                /bin/dd /bin/vi /bin/ls /bin/cat /usr/bin/awk /usr/bin/hexdump  \
                /bin/sleep /bin/zcat /usr/bin/bzcat /usr/bin/printf /usr/bin/wc \