From: Petr Štetiar Date: Mon, 23 May 2016 10:55:01 +0000 (+0200) Subject: scripts/download.pl: Use CDN for kernel downloads X-Git-Url: http://git.lede-project.org./?a=commitdiff_plain;h=e0b241bb489b82b42338a7469f5b5bd387f4c100;p=openwrt%2Fstaging%2Fstintel.git scripts/download.pl: Use CDN for kernel downloads More info at https://www.kernel.org/introducing-fastly-cdn.html Signed-off-by: Petr Štetiar --- diff --git a/scripts/download.pl b/scripts/download.pl index 548eb7a14f..c31d9bd83f 100755 --- a/scripts/download.pl +++ b/scripts/download.pl @@ -207,8 +207,8 @@ foreach my $mirror (@ARGV) { push @extra, "$extra[0]/longterm/v$1"; } foreach my $dir (@extra) { - push @mirrors, "https://kernel.org/pub/$dir"; - push @mirrors, "ftp://kernel.org/pub/$dir"; + push @mirrors, "https://cdn.kernel.org/pub/$dir"; + push @mirrors, "https://www.kernel.org/pub/$dir"; } } elsif ($mirror =~ /^\@GNOME\/(.+)$/) { push @mirrors, "http://ftp.gnome.org/pub/GNOME/sources/$1";