summaryrefslogtreecommitdiff
path: root/sys-kernel/nvidia-drivers-dkms/files/dkms515.patch
diff options
context:
space:
mode:
Diffstat (limited to 'sys-kernel/nvidia-drivers-dkms/files/dkms515.patch')
-rw-r--r--sys-kernel/nvidia-drivers-dkms/files/dkms515.patch14
1 files changed, 8 insertions, 6 deletions
diff --git a/sys-kernel/nvidia-drivers-dkms/files/dkms515.patch b/sys-kernel/nvidia-drivers-dkms/files/dkms515.patch
index 6d83f27d..b18f38f5 100644
--- a/sys-kernel/nvidia-drivers-dkms/files/dkms515.patch
+++ b/sys-kernel/nvidia-drivers-dkms/files/dkms515.patch
@@ -1,11 +1,12 @@
diff -Nur a/kernel/dkms.conf b/kernel/dkms.conf
---- a/kernel/dkms.conf 2022-07-20 14:40:39.000000000 +0100
-+++ b/kernel/dkms.conf 2022-10-16 17:59:20.342158844 +0100
-@@ -1,12 +1,21 @@
+--- a/kernel/dkms.conf 2022-10-26 09:58:29.000000000 +0100
++++ b/kernel/dkms.conf 2023-03-29 12:04:16.447837005 +0100
+@@ -1,12 +1,22 @@
-PACKAGE_NAME="nvidia"
-PACKAGE_VERSION="__VERSION_STRING"
+PACKAGE_NAME="nvidia-drivers-dkms"
+PACKAGE_VERSION="515.86.01"
++BUILD_EXCLUSIVE_KERNEL="^(5\.[0-9]+\.|6\.[0-1]\.)" # only build for kernels v5.x.x up to and including v6.1.x
AUTOINSTALL="yes"
# By default, DKMS will add KERNELRELEASE to the make command line; however,
@@ -28,13 +29,14 @@ diff -Nur a/kernel/dkms.conf b/kernel/dkms.conf
+BUILT_MODULE_NAME[4]="nvidia-peermem"
+DEST_MODULE_LOCATION[4]="/extra/dkms"
diff -Nur a/kernel-open/dkms.conf b/kernel-open/dkms.conf
---- a/kernel-open/dkms.conf 2022-07-20 14:40:39.000000000 +0100
-+++ b/kernel-open/dkms.conf 2022-10-16 17:59:28.942158589 +0100
-@@ -1,12 +1,21 @@
+--- a/kernel-open/dkms.conf 2022-10-26 09:58:29.000000000 +0100
++++ b/kernel-open/dkms.conf 2023-03-29 12:04:25.738837870 +0100
+@@ -1,12 +1,22 @@
-PACKAGE_NAME="nvidia"
-PACKAGE_VERSION="__VERSION_STRING"
+PACKAGE_NAME="nvidia-drivers-dkms"
+PACKAGE_VERSION="515.86.01"
++BUILD_EXCLUSIVE_KERNEL="^(5\.[0-9]+\.|6\.[0-1]\.)" # only build for kernels v5.x.x up to and including v6.1.x
AUTOINSTALL="yes"
# By default, DKMS will add KERNELRELEASE to the make command line; however,