[LEDE-DEV] [PATCH] scripts/download.pl: Use CDN for kernel downloads
Petr Štetiar
ynezz at true.cz
Mon May 23 00:10:42 PDT 2016
More info at https://www.kernel.org/introducing-fastly-cdn.html
Signed-off-by: Petr Štetiar <ynezz at true.cz>
---
scripts/download.pl | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/scripts/download.pl b/scripts/download.pl
index 548eb7a..ec7067b 100755
--- a/scripts/download.pl
+++ b/scripts/download.pl
@@ -207,7 +207,7 @@ foreach my $mirror (@ARGV) {
push @extra, "$extra[0]/longterm/v$1";
}
foreach my $dir (@extra) {
- push @mirrors, "https://kernel.org/pub/$dir";
+ push @mirrors, "https://cdn.kernel.org/pub/$dir";
push @mirrors, "ftp://kernel.org/pub/$dir";
}
} elsif ($mirror =~ /^\@GNOME\/(.+)$/) {
--
1.9.1
More information about the Lede-dev
mailing list