[OpenWrt-Devel] DD: CONFIG_BUSYBOX_DEFAULT_WGET is not set

Felix Fietkau nbd at openwrt.org
Sat Jan 23 19:21:24 EST 2016


On 2016-01-24 00:21, Christian Schoenebeck wrote:
> For whatever reason uclient-fetch is installed into /bin directory.
> Your plan is to use it as a replacement for Busybox Wget. Fine.
> Why do you place the wget link to uclient-fetch also into /bin ?
> wget default location is /usr/bin/wget
> 
> If you later install GNU wget the package will remove /usr/bin/wget and build a new link to wget-ssl.
> With your /bin/wget link to uclient-fetch you will have two wget installation afterwards.
> So it depends on your PATH environment which one is used.
> 
> I suggest wherever you install uclient-fetch the link must be from /usr/bin/wget.
We decided that we want to move replaceable utilities that ship with the
default image to /bin, so that replacements (like GNU wget) can install
themselves to /usr/bin, which has priority in $PATH.
All this symlink mangling nonsense in postinst/postrm needs be ripped
out completely.

- Felix
_______________________________________________
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