<div dir="ltr"><div>Did you see my patch?<br>[OpenWrt-Devel] [PATCH] base-files: fix sysupgrade 'wget' handling for uclient-fetch<br><br></div>The key is that uclient-fetch needs to be copied to ramfs during a sysupgrade:<br><div><pre>install_bin /bin/uclient-fetch /bin/wget</pre>Notice that change r48451 only moves the symbolic link to busybox from /usr/bin/wget -> bustbox to /bin/wget -> busybox<br><br></div><div>Here is ramfs after r48451 you submitted:<br><br><font size="1"><span style="font-family:monospace,monospace">@OpenWrt:/bin# ll
<br>drwxr-xr-x 2 0 0 520 Jan 23 01:20 .
<br>drwxr-xr-x 13 0 0 260 Jan 23 01:20 ..
<br>lrwxrwxrwx 1 0 0 12 Jan 23 01:20 ash -> /bin/busybox
<br>-rwxr-xr-x 1 0 0 300327 Jan 23 01:20 busybox
<br>lrwxrwxrwx 1 0 0 12 Jan 23 01:20 cat -> /bin/busybox
<br>lrwxrwxrwx 1 0 0 12 Jan 23 01:20 chmod ->
/bin/busybox
<br>lrwxrwxrwx 1 0 0 12 Jan 23 01:20 cp -> /bin/busybox
<br>lrwxrwxrwx 1 0 0 12 Jan 23 01:20 cut -> /bin/busybox
<br>lrwxrwxrwx 1 0 0 12 Jan 23 01:20 dd -> /bin/busybox
<br>lrwxrwxrwx 1 0 0 12 Jan 23 01:20 grep ->
/bin/busybox
<br>lrwxrwxrwx 1 0 0 12 Jan 23 01:20 kill ->
/bin/busybox
<br>lrwxrwxrwx 1 0 0 12 Jan 23 01:20 ls -> /bin/busybox
<br>lrwxrwxrwx 1 0 0 12 Jan 23 01:20 mkdir ->
/bin/busybox
<br>lrwxrwxrwx 1 0 0 12 Jan 23 01:20 mount ->
/bin/busybox
<br>lrwxrwxrwx 1 0 0 12 Jan 23 01:20 mv -> /bin/busybox
<br>lrwxrwxrwx 1 0 0 12 Jan 23 01:20 rm -> /bin/busybox
<br>lrwxrwxrwx 1 0 0 12 Jan 23 01:20 rmdir ->
/bin/busybox
<br>lrwxrwxrwx 1 0 0 12 Jan 23 01:20 sh -> /bin/busybox
<br>lrwxrwxrwx 1 0 0 12 Jan 23 01:20 sleep ->
/bin/busybox
<br>lrwxrwxrwx 1 0 0 12 Jan 23 01:20 sync ->
/bin/busybox
<br>lrwxrwxrwx 1 0 0 12 Jan 23 01:20 tar -> /bin/busybox
<br><b>lrwxrwxrwx 1 0 0 12 Jan 23 01:20 uclient-fetch
-> /bin/busybox
<br></b>lrwxrwxrwx 1 0 0 12 Jan 23 01:20 umount ->
/bin/busybox
<br>lrwxrwxrwx 1 0 0 12 Jan 23 01:20 vi -> /bin/busybox
<br>lrwxrwxrwx 1 0 0 12 Jan 23 01:20 wget ->
/bin/busybox
<br>lrwxrwxrwx 1 0 0 12 Jan 23 01:20 zcat ->
/bin/busybox
</span></font><br><br><br><br></div><div>Here is ramfs after the patch I submitted yesterday:<br><br><span style="font-family:monospace,monospace"><font size="1">@OpenWrt:(unreachable)/lib/upgrade# ll /bin/<br>drwxr-xr-x 2 0 0 520 Jan 24 12:13 .<br>drwxr-xr-x 13 0 0 260 Jan 24 12:13 ..<br>lrwxrwxrwx 1 0 0 12 Jan 24 12:13 ash -> /bin/busybox<br>-rwxr-xr-x 1 0 0 300327 Jan 24 12:13 busybox<br>lrwxrwxrwx 1 0 0 12 Jan 24 12:13 cat -> /bin/busybox<br>lrwxrwxrwx 1 0 0 12 Jan 24 12:13 chmod -> /bin/busybox<br>lrwxrwxrwx 1 0 0 12 Jan 24 12:13 cp -> /bin/busybox<br>lrwxrwxrwx 1 0 0 12 Jan 24 12:13 cut -> /bin/busybox<br>lrwxrwxrwx 1 0 0 12 Jan 24 12:13 dd -> /bin/busybox<br>lrwxrwxrwx 1 0 0 12 Jan 24 12:13 grep -> /bin/busybox<br>lrwxrwxrwx 1 0 0 12 Jan 24 12:13 kill -> /bin/busybox<br>lrwxrwxrwx 1 0 0 12 Jan 24 12:13 ls -> /bin/busybox<br>lrwxrwxrwx 1 0 0 12 Jan 24 12:13 mkdir -> /bin/busybox<br>lrwxrwxrwx 1 0 0 12 Jan 24 12:13 mount -> /bin/busybox<br>lrwxrwxrwx 1 0 0 12 Jan 24 12:13 mv -> /bin/busybox<br>lrwxrwxrwx 1 0 0 12 Jan 24 12:13 rm -> /bin/busybox<br>lrwxrwxrwx 1 0 0 12 Jan 24 12:13 rmdir -> /bin/busybox<br>lrwxrwxrwx 1 0 0 12 Jan 24 12:13 sh -> /bin/busybox<br>lrwxrwxrwx 1 0 0 12 Jan 24 12:13 sleep -> /bin/busybox<br>lrwxrwxrwx 1 0 0 12 Jan 24 12:13 sync -> /bin/busybox<br>lrwxrwxrwx 1 0 0 12 Jan 24 12:13 tar -> /bin/busybox<br><b>-rwxr-xr-x 1 0 0 12343 Jan 24 12:13 uclient-fetch<br></b>lrwxrwxrwx 1 0 0 12 Jan 24 12:13 umount -> /bin/busybox<br>lrwxrwxrwx 1 0 0 12 Jan 24 12:13 vi -> /bin/busybox<br><b>lrwxrwxrwx 1 0 0 18 Jan 24 12:13 wget -> /bin/uclient-fetch<br></b>lrwxrwxrwx 1 0 0 12 Jan 24 12:13 zcat -> /bin/busybox</font><br></span><br></div><div><br><br></div><div><br></div></div><div class="gmail_extra"><br><div class="gmail_quote">On Fri, Jan 22, 2016 at 3:27 AM, Bastian Bittorf <span dir="ltr"><<a href="mailto:bittorf@bluebottle.com" target="_blank">bittorf@bluebottle.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><span class="">* John Clark <<a href="mailto:inindev@gmail.com">inindev@gmail.com</a>> [22.01.2016 07:55]:<br>
</span><span class="">> Is it intentional that wget is not available by default in the<br>
<br>
</span>i just send a patch. thanks for spotting this.<br>
<br>
bye, bastian<br>
</blockquote></div><br></div>