Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
F
FFS Gluon
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Deploy
Releases
Container registry
Model registry
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
0x4A6F
FFS Gluon
Commits
9994eebe
Unverified
Commit
9994eebe
authored
8 years ago
by
Matthias Schiffer
Browse files
Options
Downloads
Patches
Plain Diff
scripts/download.pl: Use CDN for kernel downloads
Fixes #1059
parent
f9d59be7
No related branches found
No related tags found
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
patches/openwrt/0093-scripts-download.pl-Use-CDN-for-kernel-downloads.patch
+25
-0
25 additions, 0 deletions
...93-scripts-download.pl-Use-CDN-for-kernel-downloads.patch
with
25 additions
and
0 deletions
patches/openwrt/0093-scripts-download.pl-Use-CDN-for-kernel-downloads.patch
0 → 100644
+
25
−
0
View file @
9994eebe
From: Petr Štetiar <ynezz@true.cz>
Date: Mon, 23 May 2016 12:55:01 +0200
Subject: 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>
Backport of LEDE e0b241bb489b82b42338a7469f5b5bd387f4c100
diff --git a/scripts/download.pl b/scripts/download.pl
index 111d03c63320d0c4f7b19902a4a5e23acb3b8a4d..ea4e2c4887b530236a9a56053105053e48a9c7b5 100755
--- a/scripts/download.pl
+++ b/scripts/download.pl
@@ -177,8 +177,8 @@
foreach my $mirror (@ARGV) {
push @extra, "$extra[0]/longterm/v$1";
}
foreach my $dir (@extra) {
- push @mirrors, "ftp://ftp.all.kernel.org/pub/$dir";
- push @mirrors, "http://ftp.all.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";
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment