diff options
author | Michał Górny <mgorny@gentoo.org> | 2019-09-30 08:50:05 +0200 |
---|---|---|
committer | Michał Górny <mgorny@gentoo.org> | 2019-10-05 20:55:21 +0200 |
commit | 94148840cac04ad2f65cac2d58032e37aa9e4cac (patch) | |
tree | ab6840c80f0a5734e22e3c531808e603c4d92be8 /eclass | |
parent | www-apps/cgit: Inline mirror://kernel (diff) | |
download | gentoo-94148840cac04ad2f65cac2d58032e37aa9e4cac.tar.gz gentoo-94148840cac04ad2f65cac2d58032e37aa9e4cac.tar.bz2 gentoo-94148840cac04ad2f65cac2d58032e37aa9e4cac.zip |
kernel-2.eclass: Inline mirror://kernel
Signed-off-by: Michał Górny <mgorny@gentoo.org>
Diffstat (limited to 'eclass')
-rw-r--r-- | eclass/kernel-2.eclass | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/eclass/kernel-2.eclass b/eclass/kernel-2.eclass index 784b3929d436..c5f35cd3e31e 100644 --- a/eclass/kernel-2.eclass +++ b/eclass/kernel-2.eclass @@ -371,17 +371,17 @@ detect_version() { # at this point 031412, Linus is putting all 3.x kernels in a # 3.x directory, may need to revisit when 4.x is released - KERNEL_BASE_URI="mirror://kernel/linux/kernel/v${KV_MAJOR}.x" + KERNEL_BASE_URI="https://www.kernel.org/pub/linux/kernel/v${KV_MAJOR}.x" [[ -n "${K_LONGTERM}" ]] && KERNEL_BASE_URI="${KERNEL_BASE_URI}/longterm/v${KV_MAJOR}.${KV_PATCH_ARR}" else - #KERNEL_BASE_URI="mirror://kernel/linux/kernel/v${KV_MAJOR}.0" - #KERNEL_BASE_URI="mirror://kernel/linux/kernel/v${KV_MAJOR}.${KV_MINOR}" + #KERNEL_BASE_URI="https://www.kernel.org/pub/linux/kernel/v${KV_MAJOR}.0" + #KERNEL_BASE_URI="https://www.kernel.org/pub/linux/kernel/v${KV_MAJOR}.${KV_MINOR}" if [[ ${KV_MAJOR} -ge 3 ]]; then - KERNEL_BASE_URI="mirror://kernel/linux/kernel/v${KV_MAJOR}.x" + KERNEL_BASE_URI="https://www.kernel.org/pub/linux/kernel/v${KV_MAJOR}.x" else - KERNEL_BASE_URI="mirror://kernel/linux/kernel/v${KV_MAJOR}.${KV_MINOR}" + KERNEL_BASE_URI="https://www.kernel.org/pub/linux/kernel/v${KV_MAJOR}.${KV_MINOR}" fi [[ -n "${K_LONGTERM}" ]] && |