[OpenWrt-Devel] DD: CONFIG_BUSYBOX_DEFAULT_WGET is not set
John Clark
inindev at gmail.com
Sun Jan 24 07:20:22 EST 2016
Did you see my patch?
[OpenWrt-Devel] [PATCH] base-files: fix sysupgrade 'wget' handling for
uclient-fetch
The key is that uclient-fetch needs to be copied to ramfs during a
sysupgrade:
install_bin /bin/uclient-fetch /bin/wget
Notice that change r48451 only moves the symbolic link to busybox from
/usr/bin/wget -> bustbox to /bin/wget -> busybox
Here is ramfs after r48451 you submitted:
@OpenWrt:/bin# ll
drwxr-xr-x 2 0 0 520 Jan 23 01:20 .
drwxr-xr-x 13 0 0 260 Jan 23 01:20 ..
lrwxrwxrwx 1 0 0 12 Jan 23 01:20 ash ->
/bin/busybox
-rwxr-xr-x 1 0 0 300327 Jan 23 01:20 busybox
lrwxrwxrwx 1 0 0 12 Jan 23 01:20 cat ->
/bin/busybox
lrwxrwxrwx 1 0 0 12 Jan 23 01:20 chmod ->
/bin/busybox
lrwxrwxrwx 1 0 0 12 Jan 23 01:20 cp -> /bin/busybox
lrwxrwxrwx 1 0 0 12 Jan 23 01:20 cut ->
/bin/busybox
lrwxrwxrwx 1 0 0 12 Jan 23 01:20 dd -> /bin/busybox
lrwxrwxrwx 1 0 0 12 Jan 23 01:20 grep ->
/bin/busybox
lrwxrwxrwx 1 0 0 12 Jan 23 01:20 kill ->
/bin/busybox
lrwxrwxrwx 1 0 0 12 Jan 23 01:20 ls -> /bin/busybox
lrwxrwxrwx 1 0 0 12 Jan 23 01:20 mkdir ->
/bin/busybox
lrwxrwxrwx 1 0 0 12 Jan 23 01:20 mount ->
/bin/busybox
lrwxrwxrwx 1 0 0 12 Jan 23 01:20 mv -> /bin/busybox
lrwxrwxrwx 1 0 0 12 Jan 23 01:20 rm -> /bin/busybox
lrwxrwxrwx 1 0 0 12 Jan 23 01:20 rmdir ->
/bin/busybox
lrwxrwxrwx 1 0 0 12 Jan 23 01:20 sh -> /bin/busybox
lrwxrwxrwx 1 0 0 12 Jan 23 01:20 sleep ->
/bin/busybox
lrwxrwxrwx 1 0 0 12 Jan 23 01:20 sync ->
/bin/busybox
lrwxrwxrwx 1 0 0 12 Jan 23 01:20 tar ->
/bin/busybox
*lrwxrwxrwx 1 0 0 12 Jan 23 01:20 uclient-fetch ->
/bin/busybox *lrwxrwxrwx 1 0 0 12 Jan 23 01:20
umount -> /bin/busybox
lrwxrwxrwx 1 0 0 12 Jan 23 01:20 vi -> /bin/busybox
lrwxrwxrwx 1 0 0 12 Jan 23 01:20 wget ->
/bin/busybox
lrwxrwxrwx 1 0 0 12 Jan 23 01:20 zcat ->
/bin/busybox
Here is ramfs after the patch I submitted yesterday:
@OpenWrt:(unreachable)/lib/upgrade# ll /bin/
drwxr-xr-x 2 0 0 520 Jan 24 12:13 .
drwxr-xr-x 13 0 0 260 Jan 24 12:13 ..
lrwxrwxrwx 1 0 0 12 Jan 24 12:13 ash -> /bin/busybox
-rwxr-xr-x 1 0 0 300327 Jan 24 12:13 busybox
lrwxrwxrwx 1 0 0 12 Jan 24 12:13 cat -> /bin/busybox
lrwxrwxrwx 1 0 0 12 Jan 24 12:13 chmod ->
/bin/busybox
lrwxrwxrwx 1 0 0 12 Jan 24 12:13 cp -> /bin/busybox
lrwxrwxrwx 1 0 0 12 Jan 24 12:13 cut -> /bin/busybox
lrwxrwxrwx 1 0 0 12 Jan 24 12:13 dd -> /bin/busybox
lrwxrwxrwx 1 0 0 12 Jan 24 12:13 grep ->
/bin/busybox
lrwxrwxrwx 1 0 0 12 Jan 24 12:13 kill ->
/bin/busybox
lrwxrwxrwx 1 0 0 12 Jan 24 12:13 ls -> /bin/busybox
lrwxrwxrwx 1 0 0 12 Jan 24 12:13 mkdir ->
/bin/busybox
lrwxrwxrwx 1 0 0 12 Jan 24 12:13 mount ->
/bin/busybox
lrwxrwxrwx 1 0 0 12 Jan 24 12:13 mv -> /bin/busybox
lrwxrwxrwx 1 0 0 12 Jan 24 12:13 rm -> /bin/busybox
lrwxrwxrwx 1 0 0 12 Jan 24 12:13 rmdir ->
/bin/busybox
lrwxrwxrwx 1 0 0 12 Jan 24 12:13 sh -> /bin/busybox
lrwxrwxrwx 1 0 0 12 Jan 24 12:13 sleep ->
/bin/busybox
lrwxrwxrwx 1 0 0 12 Jan 24 12:13 sync ->
/bin/busybox
lrwxrwxrwx 1 0 0 12 Jan 24 12:13 tar -> /bin/busybox
*-rwxr-xr-x 1 0 0 12343 Jan 24 12:13
uclient-fetch*lrwxrwxrwx
1 0 0 12 Jan 24 12:13 umount -> /bin/busybox
lrwxrwxrwx 1 0 0 12 Jan 24 12:13 vi -> /bin/busybox
*lrwxrwxrwx 1 0 0 18 Jan 24 12:13 wget ->
/bin/uclient-fetch*lrwxrwxrwx 1 0 0 12 Jan 24 12:13
zcat -> /bin/busybox
On Fri, Jan 22, 2016 at 3:27 AM, Bastian Bittorf <bittorf at bluebottle.com>
wrote:
> * John Clark <inindev at gmail.com> [22.01.2016 07:55]:
> > Is it intentional that wget is not available by default in the
>
> i just send a patch. thanks for spotting this.
>
> bye, bastian
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.infradead.org/pipermail/openwrt-devel/attachments/20160124/98fc66af/attachment.htm>
-------------- next part --------------
_______________________________________________
openwrt-devel mailing list
openwrt-devel at lists.openwrt.org
https://lists.openwrt.org/cgi-bin/mailman/listinfo/openwrt-devel
More information about the openwrt-devel
mailing list