[LEDE-DEV] [PATCH] prereq-mk: Change wget dependency to curl one.

Stijn Segers foss at volatilesystems.org
Sat Mar 10 10:13:05 PST 2018


Op za, 10 mrt 2018 om 7:03 , schreef Rosen Penev <rosenp at gmail.com>:
> On Sat, Mar 10, 2018 at 3:31 AM, Bjørn Mork <bjorn at mork.no> wrote:
>>  Rosen Penev <rosenp at gmail.com> writes:
>> 
>>>  curl is more common than GNU wget is.
>> 
>>  No.
> Yes.
>> 
>>>  For example, Cygwin, Arch Linux, and my android phone all come with
>>>  curl by default whereas wget is missing.
>> 
>>  wget has priority "important" in Debian, while curl is "optional".
>> 
>>  I don't think it makes much sense to tune the installation system 
>> for
>>  some weird distros no one actually use to build OpenWrt.
> Arch Linux is what I use to build OpenWrt.

Arch users might catch the edge cases (notably the bleeding edge ones). 
Debian based
systems tend to be more widespread than Arch ones, and running one or 
the other does
not imply a more skilled user either way. Our wiki buildroot 
instructions seem to
assume/favour a Debian-based system (that of course heavily depends on 
who wrote the
entry) [1].

Distro/package management preferences aside, curl isn't mentioned at 
all on the buildroot
wiki page. Wget is suggested as the tool of preference on *all* build 
platforms there
(including Arch Linux).

Look at the wider distro landscape: wget seems to be more prevalent. 
The Arch way isn't
always the best way...

Also: this has been brought up last year as well if I recall correctly. 
Same arguments
were fielded.

Stijn

> 
> 
> I've already made my case that curl is more common. The only issue
> would be if this commit would impact Debian or Ubuntu since they seem
> to be more common for building.
>> 
>> 
>> 
>>  Bjørn
> 
> _______________________________________________
> Lede-dev mailing list
> Lede-dev at lists.infradead.org
> http://lists.infradead.org/mailman/listinfo/lede-dev

[1]	https://wiki.openwrt.org/doc/howto/buildroot.exigence




More information about the Lede-dev mailing list