From: Mike Pagano Date: Mon, 22 May 2017 10:56:31 +0000 (-0400) Subject: kernel-2.eclass: Update eclass for new location for rc kernels > 1 X-Git-Url: http://git.tremily.us/gitweb.cgi?a=commitdiff_plain;h=afd97914cffec2664ce0b410f476051f571f34d1;p=gentoo.git kernel-2.eclass: Update eclass for new location for rc kernels > 1 --- diff --git a/eclass/kernel-2.eclass b/eclass/kernel-2.eclass index a6c783796a15..09409ab1ff10 100644 --- a/eclass/kernel-2.eclass +++ b/eclass/kernel-2.eclass @@ -512,7 +512,7 @@ detect_version() { # as of 12/5/2017, the rc patch is no longer offered as a compressed # file, and no longer is it mirrored on kernel.org if [[ ${KV_MAJOR} -ge 4 ]] && [[ ${KV_PATCH} -ge 12 ]]; then - KERNEL_URI="https://git.kernel.org/torvalds/p/v4.12-rc1/v4.11 -> patch-4.12-rc1.patch + KERNEL_URI="https://git.kernel.org/torvalds/p/v${KV_FULL}/v${OKV} -> patch-${KV_FULL}.patch ${KERNEL_BASE_URI}/linux-${OKV}.tar.xz" UNIPATCH_LIST_DEFAULT="${DISTDIR}/patch-${CKV//_/-}.patch" else