1 |
commit: 02b80009c952c48763130f160a4cd4f55940faae |
2 |
Author: Thomas Deutschmann <whissi <AT> gentoo <DOT> org> |
3 |
AuthorDate: Mon Jan 7 20:14:25 2019 +0000 |
4 |
Commit: Thomas Deutschmann <whissi <AT> gentoo <DOT> org> |
5 |
CommitDate: Mon Jan 7 20:16:50 2019 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=02b80009 |
7 |
|
8 |
kernel-2.eclass: add linux 5.x support |
9 |
|
10 |
Signed-off-by: Thomas Deutschmann <whissi <AT> gentoo.org> |
11 |
|
12 |
eclass/kernel-2.eclass | 2 +- |
13 |
1 file changed, 1 insertion(+), 1 deletion(-) |
14 |
|
15 |
diff --git a/eclass/kernel-2.eclass b/eclass/kernel-2.eclass |
16 |
index 8e595d581cf..48146b7284b 100644 |
17 |
--- a/eclass/kernel-2.eclass |
18 |
+++ b/eclass/kernel-2.eclass |
19 |
@@ -509,7 +509,7 @@ detect_version() { |
20 |
|
21 |
# as of 12/5/2017, the rc patch is no longer offered as a compressed |
22 |
# file, and no longer is it mirrored on kernel.org |
23 |
- if [[ ${KV_MAJOR} -ge 4 ]] && [[ ${KV_PATCH} -ge 12 ]]; then |
24 |
+ if ver_test "${KV_MAJOR}.${KV_PATCH}" -ge "4.12"; then |
25 |
KERNEL_URI="https://git.kernel.org/torvalds/p/v${KV_FULL}/v${OKV} -> patch-${KV_FULL}.patch |
26 |
${KERNEL_BASE_URI}/linux-${OKV}.tar.xz" |
27 |
UNIPATCH_LIST_DEFAULT="${DISTDIR}/patch-${CKV//_/-}.patch" |