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 | b7ab6c66cc8b0b89c623c1270b60ed61024cfe41 (patch) | |
tree | 50fe897f800380b1581790cedc430a27c5596b04 /package/base-files | |
parent | e8e4b6eed8da155967519183652a74fa43d51abf (diff) | |
download | mtk-20170518-b7ab6c66cc8b0b89c623c1270b60ed61024cfe41.zip mtk-20170518-b7ab6c66cc8b0b89c623c1270b60ed61024cfe41.tar.gz mtk-20170518-b7ab6c66cc8b0b89c623c1270b60ed61024cfe41.tar.bz2 |
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>
SVN-Revision: 48483
Diffstat (limited to 'package/base-files')
-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 adf290c..f894f31 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 |