kernel-2.eclass: Inline mirror://kernel
authorMichał Górny <mgorny@gentoo.org>
Mon, 30 Sep 2019 06:50:05 +0000 (08:50 +0200)
committerMichał Górny <mgorny@gentoo.org>
Sat, 5 Oct 2019 18:55:21 +0000 (20:55 +0200)
Signed-off-by: Michał Górny <mgorny@gentoo.org>
eclass/kernel-2.eclass

index 784b3929d436088080321f781e68028c57650431..c5f35cd3e31e3d60947e53c9be04c4a890a36b79 100644 (file)
@@ -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}" ]] &&