summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorThomas Deutschmann <whissi@gentoo.org>2019-01-07 21:14:25 +0100
committerThomas Deutschmann <whissi@gentoo.org>2019-01-07 21:16:50 +0100
commit02b80009c952c48763130f160a4cd4f55940faae (patch)
tree08b1c650785b3ca6936cc210a070fdce195c6206
parentapp-emulation/libpod: add init script a logrotate config (diff)
downloadgentoo-02b80009c952c48763130f160a4cd4f55940faae.tar.gz
gentoo-02b80009c952c48763130f160a4cd4f55940faae.tar.bz2
gentoo-02b80009c952c48763130f160a4cd4f55940faae.zip
kernel-2.eclass: add linux 5.x support
Signed-off-by: Thomas Deutschmann <whissi@gentoo.org>
-rw-r--r--eclass/kernel-2.eclass2
1 files changed, 1 insertions, 1 deletions
diff --git a/eclass/kernel-2.eclass b/eclass/kernel-2.eclass
index 8e595d581cf..48146b7284b 100644
--- a/eclass/kernel-2.eclass
+++ b/eclass/kernel-2.eclass
@@ -509,7 +509,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
+ if ver_test "${KV_MAJOR}.${KV_PATCH}" -ge "4.12"; then
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"