kernel-2.eclass: Update eclass for new location for rc kernels > 1
authorMike Pagano <mpagano@gentoo.org>
Mon, 22 May 2017 10:56:31 +0000 (06:56 -0400)
committerMike Pagano <mpagano@gentoo.org>
Mon, 22 May 2017 10:56:57 +0000 (06:56 -0400)
eclass/kernel-2.eclass

index a6c783796a15dbdef65b7e2abbfc9da046d5182f..09409ab1ff109b538bb2b20cca288d9327428d9f 100644 (file)
@@ -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