diff options
author | Felix Fietkau <nbd@openwrt.org> | 2016-01-25 12:35:21 +0000 |
---|---|---|
committer | Felix Fietkau <nbd@openwrt.org> | 2016-01-25 12:35:21 +0000 |
commit | 5d1abd7bfa82e1e0f8e4e5ca7baebeb2cb691cb4 (patch) | |
tree | 56a5df8cd398e500c586e3b328ff7d7aa3deeaee /package | |
parent | 29209ec1e96b9c60ad9844225eb6adc7442114b9 (diff) | |
download | master-187ad058-5d1abd7bfa82e1e0f8e4e5ca7baebeb2cb691cb4.tar.gz master-187ad058-5d1abd7bfa82e1e0f8e4e5ca7baebeb2cb691cb4.tar.bz2 master-187ad058-5d1abd7bfa82e1e0f8e4e5ca7baebeb2cb691cb4.zip |
base-files: fix sysupgrade 'wget' handling for uclient-fetch
change 48451 tried to add support for uclient-fetch by moving
/usr/bin/wget to /bin/wget, but this change kept the symbolic
link to /bin/busybox as install_bin creates links to param 1
the desired fix is to link to uclient-fetch to wget:
install_bin /bin/uclient-fetch /bin/wget
Signed-off-by: John Clark <inindev@gmail.com>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@48483 3c298f89-4303-0410-b956-a3cf2f4a3e73
Diffstat (limited to 'package')
-rw-r--r-- | package/base-files/files/lib/upgrade/common.sh | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/package/base-files/files/lib/upgrade/common.sh b/package/base-files/files/lib/upgrade/common.sh index adf290cb82..f894f3155b 100644 --- a/package/base-files/files/lib/upgrade/common.sh +++ b/package/base-files/files/lib/upgrade/common.sh @@ -48,13 +48,14 @@ supivot() { # <new_root> <old_root> run_ramfs() { # <command> [...] install_bin /bin/busybox /bin/ash /bin/sh /bin/mount /bin/umount \ - /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 \ + /sbin/pivot_root /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 \ /bin/cut /usr/bin/printf /bin/sync /bin/mkdir /bin/rmdir \ /bin/rm /usr/bin/basename /bin/kill /bin/chmod + install_bin /bin/uclient-fetch /bin/wget install_bin /sbin/mtd install_bin /sbin/mount_root install_bin /sbin/snapshot |