[LEDE-DEV] [PATCH] scripts/download.pl: Use CDN for kernel downloads

Arjen de Korte arjen+lede at de-korte.org
Mon May 23 03:42:59 PDT 2016


Citeren Petr Štetiar <ynezz at true.cz>:

> Felix Fietkau <nbd at nbd.name> [2016-05-23 11:11:50]:
>
>> On 2016-05-23 10:29, Bjørn Mork wrote:
>> > Petr Štetiar <ynezz at true.cz> writes:
>> >
>> >> -			push @mirrors, "https://kernel.org/pub/$dir";
>> >> +			push @mirrors, "https://cdn.kernel.org/pub/$dir";
>> >>  			push @mirrors, "ftp://kernel.org/pub/$dir";
>> >
>> > Not sure that is a good idea at this point.  At least here, kernel.org
>> > has IPv6 AAAA records while cdn.kernel.org does not:
>>
>> So why not add both? :)
>
> If I understand it correctly, the code is going to use another mirror only if
> the current mirror fails. In my case the download was awfully slow,  
> but didn't
> failed.

If you're on a IPv6 only network, the connection to cdn.kernel.org  
*will* fail (as it doesn't have an AAAA record in DNS). At least from  
my location, cdn.kernel.org is a lot faster than (www.)kernel.org, so  
I'd too like to see it tried first.




More information about the Lede-dev mailing list