aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorPetr Štetiar <ynezz@true.cz>2016-05-23 12:55:01 +0200
committerFelix Fietkau <nbd@nbd.name>2016-05-23 13:39:50 +0200
commite0b241bb489b82b42338a7469f5b5bd387f4c100 (patch)
treeba9ee3d894a33b8c98bdff1cc4890c2968c51981
parent4c4497ec0de19eb93dc695cc2762c1a33ff16b9a (diff)
downloadupstream-e0b241bb489b82b42338a7469f5b5bd387f4c100.tar.gz
upstream-e0b241bb489b82b42338a7469f5b5bd387f4c100.tar.bz2
upstream-e0b241bb489b82b42338a7469f5b5bd387f4c100.zip
scripts/download.pl: Use CDN for kernel downloads
More info at https://www.kernel.org/introducing-fastly-cdn.html Signed-off-by: Petr Štetiar <ynezz@true.cz>
-rwxr-xr-xscripts/download.pl4
1 files changed, 2 insertions, 2 deletions
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";