kernel-2.eclass: Fix file renaming for git-sources
authorMike Pagano <mpagano@gentoo.org>
Fri, 19 May 2017 12:37:35 +0000 (08:37 -0400)
committerMike Pagano <mpagano@gentoo.org>
Fri, 19 May 2017 12:37:48 +0000 (08:37 -0400)
eclass/kernel-2.eclass

index c6ce28d45a57e177ea2fe1391ad5897156e55f39..a6c783796a15dbdef65b7e2abbfc9da046d5182f 100644 (file)
@@ -512,9 +512,9 @@ 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
+                               KERNEL_URI="https://git.kernel.org/torvalds/p/v4.12-rc1/v4.11 -> patch-4.12-rc1.patch
                                                        ${KERNEL_BASE_URI}/linux-${OKV}.tar.xz"
-                               UNIPATCH_LIST_DEFAULT="${DISTDIR}/patch-${CKV//_/-}"
+                               UNIPATCH_LIST_DEFAULT="${DISTDIR}/patch-${CKV//_/-}.patch"
                        else
                                KERNEL_URI="${KERNEL_BASE_URI}/testing/patch-${CKV//_/-}.xz
                                                        ${KERNEL_BASE_URI}/linux-${OKV}.tar.xz"