From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from lists.gentoo.org (pigeon.gentoo.org [208.92.234.80]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by finch.gentoo.org (Postfix) with ESMTPS id 06B7513835A for ; Fri, 15 May 2020 03:50:36 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 3953DE0BC0; Fri, 15 May 2020 03:50:34 +0000 (UTC) Received: from smtp.gentoo.org (smtp.gentoo.org [IPv6:2001:470:ea4a:1:5054:ff:fec7:86e4]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id 97378E0BC0 for ; Fri, 15 May 2020 03:50:33 +0000 (UTC) Received: from oystercatcher.gentoo.org (unknown [IPv6:2a01:4f8:202:4333:225:90ff:fed9:fc84]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id 9C0EB3502CC for ; Fri, 15 May 2020 03:50:30 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id A208F238 for ; Fri, 15 May 2020 03:50:22 +0000 (UTC) From: "Georgy Yakovlev" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Georgy Yakovlev" Message-ID: <1589513570.a7bc89df9c2bcef1cd1b61e947803e67d14005e2.gyakovlev@gentoo> Subject: [gentoo-commits] repo/gentoo:master commit in: sys-fs/zfs-kmod/ X-VCS-Repository: repo/gentoo X-VCS-Files: sys-fs/zfs-kmod/zfs-kmod-9999.ebuild X-VCS-Directories: sys-fs/zfs-kmod/ X-VCS-Committer: gyakovlev X-VCS-Committer-Name: Georgy Yakovlev X-VCS-Revision: a7bc89df9c2bcef1cd1b61e947803e67d14005e2 X-VCS-Branch: master Date: Fri, 15 May 2020 03:50:22 +0000 (UTC) Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-commits@lists.gentoo.org X-Auto-Response-Suppress: DR, RN, NRN, OOF, AutoReply X-Archives-Salt: 4df2e974-8402-4deb-ad43-1631b65307d3 X-Archives-Hash: 2e22e3a6a19c88bd3e3e7b114bf11bdb commit: a7bc89df9c2bcef1cd1b61e947803e67d14005e2 Author: Georgy Yakovlev gentoo org> AuthorDate: Fri May 15 03:32:50 2020 +0000 Commit: Georgy Yakovlev gentoo org> CommitDate: Fri May 15 03:32:50 2020 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=a7bc89df sys-fs/zfs-kmod: sync live ebuild adjust minimum kernel version requirement -9999 requires 3.10 minimum, unlike 0.8.x Package-Manager: Portage-2.3.99, Repoman-2.3.22 Signed-off-by: Georgy Yakovlev gentoo.org> sys-fs/zfs-kmod/zfs-kmod-9999.ebuild | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) diff --git a/sys-fs/zfs-kmod/zfs-kmod-9999.ebuild b/sys-fs/zfs-kmod/zfs-kmod-9999.ebuild index ea8054e8f0d..8481dbb7381 100644 --- a/sys-fs/zfs-kmod/zfs-kmod-9999.ebuild +++ b/sys-fs/zfs-kmod/zfs-kmod-9999.ebuild @@ -66,8 +66,6 @@ pkg_setup() { kernel_is -lt 5 && CONFIG_CHECK="${CONFIG_CHECK} IOSCHED_NOOP" - kernel_is -ge 3 10 || die "Linux 3.10 or newer required" - if [[ ${PV} != "9999" ]]; then local kv_major_max kv_minor_max zcompat zcompat="${ZFS_KERNEL_COMPAT_OVERRIDE:-${ZFS_KERNEL_COMPAT}}" @@ -76,6 +74,12 @@ pkg_setup() { kv_minor_max="${zcompat%%.*}" kernel_is -le "${kv_major_max}" "${kv_minor_max}" || die \ "Linux ${kv_major_max}.${kv_minor_max} is the latest supported version" + + # 0.8.x requires at least 2.6.32 + kernel_is ge 2 6 32 || die "Linux 2.6.32 or newer required" + else + # git master requires at least 3.10 + kernel_is -ge 3 10 || die "Linux 3.10 or newer required" fi linux-mod_pkg_setup