summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorV3n3RiX <venerix@koprulu.sector>2023-03-25 13:09:44 +0000
committerV3n3RiX <venerix@koprulu.sector>2023-03-25 13:09:44 +0000
commit33fd59c4c2780b8f2b86b1405d09130b4b34a40d (patch)
tree1e57898de1f7727b102296d3de88aa3e9c920c3f
parentfd105ff464db527ac7efc47e334504bed0847235 (diff)
sys-kernel/zfs-dkms : only build for kernels v5.x.x and up to v6.1.x (broken with kernel v6.2.x)
-rw-r--r--metadata/md5-cache/sys-kernel/zfs-dkms-2.1.9-r1 (renamed from metadata/md5-cache/sys-kernel/zfs-dkms-2.1.9)0
-rw-r--r--metadata/pkg_desc_index2
-rw-r--r--sys-kernel/zfs-dkms/files/dkms.conf1
-rw-r--r--sys-kernel/zfs-dkms/zfs-dkms-2.1.9-r1.ebuild (renamed from sys-kernel/zfs-dkms/zfs-dkms-2.1.9.ebuild)0
4 files changed, 2 insertions, 1 deletions
diff --git a/metadata/md5-cache/sys-kernel/zfs-dkms-2.1.9 b/metadata/md5-cache/sys-kernel/zfs-dkms-2.1.9-r1
index 84051c84..84051c84 100644
--- a/metadata/md5-cache/sys-kernel/zfs-dkms-2.1.9
+++ b/metadata/md5-cache/sys-kernel/zfs-dkms-2.1.9-r1
diff --git a/metadata/pkg_desc_index b/metadata/pkg_desc_index
index 18187afa..a3c99bef 100644
--- a/metadata/pkg_desc_index
+++ b/metadata/pkg_desc_index
@@ -69,7 +69,7 @@ sys-kernel/linux-sources-redcore-lts 5.10.176 5.15.104 6.1.21: Redcore Linux LTS
sys-kernel/nvidia-drivers-dkms 390.157-r1 470.161.03-r1 515.86.01-r1 525.85.05: NVIDIA driver sources for linux
sys-kernel/vhba-dkms 20211218: Virtual (SCSI) Host Bus Adapter kernel module for the CDEmu suite sources
sys-kernel/virtualbox-modules-dkms 7.0.6: Kernel Modules source for Virtualbox
-sys-kernel/zfs-dkms 2.1.9: ZFS sources for linux
+sys-kernel/zfs-dkms 2.1.9-r1: ZFS sources for linux
sys-libs/binutils-libs 2.39-r4: Core binutils libraries (libbfd, libopcodes, libiberty) for external packages
sys-libs/glibc 2.36-r5: GNU libc C library
sys-power/radeon-profile 20200824-r10: Read current clocks of ATi/AMD Radeon cards
diff --git a/sys-kernel/zfs-dkms/files/dkms.conf b/sys-kernel/zfs-dkms/files/dkms.conf
index 450f7865..f72c28bb 100644
--- a/sys-kernel/zfs-dkms/files/dkms.conf
+++ b/sys-kernel/zfs-dkms/files/dkms.conf
@@ -2,6 +2,7 @@ PACKAGE_NAME="zfs-dkms"
PACKAGE_VERSION="2.1.9"
PACKAGE_CONFIG="/etc/sysconfig/zfs"
NO_WEAK_MODULES="yes"
+BUILD_EXCLUSIVE_KERNEL="^(5\.[0-9]+\.|6\.[0-1]\.)" # only build for kernels v5.x.x up to and including v6.1.x
PRE_BUILD="configure
--prefix=/usr
--with-config=kernel
diff --git a/sys-kernel/zfs-dkms/zfs-dkms-2.1.9.ebuild b/sys-kernel/zfs-dkms/zfs-dkms-2.1.9-r1.ebuild
index cec96ca3..cec96ca3 100644
--- a/sys-kernel/zfs-dkms/zfs-dkms-2.1.9.ebuild
+++ b/sys-kernel/zfs-dkms/zfs-dkms-2.1.9-r1.ebuild