aboutsummaryrefslogtreecommitdiffstats
path: root/package/base-files
diff options
context:
space:
mode:
authorFelix Fietkau <nbd@openwrt.org>2016-01-22 09:41:58 +0000
committerFelix Fietkau <nbd@openwrt.org>2016-01-22 09:41:58 +0000
commite02d28e3a8cc314e1094121025cb8b551780f9dc (patch)
tree7e40fd9fea430bff26457fa2fbf7f9f4e5a85def /package/base-files
parent87ad4e0eb8c38a93dfc1c9d8d16c50500960b1c0 (diff)
downloadmaster-187ad058-e02d28e3a8cc314e1094121025cb8b551780f9dc.tar.gz
master-187ad058-e02d28e3a8cc314e1094121025cb8b551780f9dc.tar.bz2
master-187ad058-e02d28e3a8cc314e1094121025cb8b551780f9dc.zip
base-files: fix sysupgrade 'wget' handling
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> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@48451 3c298f89-4303-0410-b956-a3cf2f4a3e73
Diffstat (limited to 'package/base-files')
-rw-r--r--package/base-files/files/lib/upgrade/common.sh2
1 files changed, 1 insertions, 1 deletions
diff --git a/package/base-files/files/lib/upgrade/common.sh b/package/base-files/files/lib/upgrade/common.sh
index 761b4c1795..adf290cb82 100644
--- a/package/base-files/files/lib/upgrade/common.sh
+++ b/package/base-files/files/lib/upgrade/common.sh
@@ -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 \