summaryrefslogtreecommitdiff
path: root/sys-kernel/nvidia-drivers-dkms/files
diff options
context:
space:
mode:
Diffstat (limited to 'sys-kernel/nvidia-drivers-dkms/files')
-rw-r--r--sys-kernel/nvidia-drivers-dkms/files/dkms390.patch7
-rw-r--r--sys-kernel/nvidia-drivers-dkms/files/dkms470.patch7
-rw-r--r--sys-kernel/nvidia-drivers-dkms/files/dkms515.patch14
3 files changed, 16 insertions, 12 deletions
diff --git a/sys-kernel/nvidia-drivers-dkms/files/dkms390.patch b/sys-kernel/nvidia-drivers-dkms/files/dkms390.patch
index 45fff603..402ecdf1 100644
--- a/sys-kernel/nvidia-drivers-dkms/files/dkms390.patch
+++ b/sys-kernel/nvidia-drivers-dkms/files/dkms390.patch
@@ -1,11 +1,12 @@
diff -Nur a/kernel/dkms.conf b/kernel/dkms.conf
---- a/kernel/dkms.conf 2021-11-02 06:16:12.000000000 +0000
-+++ b/kernel/dkms.conf 2022-10-16 19:24:47.535006817 +0100
-@@ -1,12 +1,19 @@
+--- a/kernel/dkms.conf 2021-11-07 11:53:27.000000000 +0000
++++ b/kernel/dkms.conf 2023-03-29 11:57:23.888798613 +0100
+@@ -1,12 +1,20 @@
-PACKAGE_NAME="nvidia"
-PACKAGE_VERSION="__VERSION_STRING"
+PACKAGE_NAME="nvidia-drivers-dkms"
+PACKAGE_VERSION="390.157"
++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,
diff --git a/sys-kernel/nvidia-drivers-dkms/files/dkms470.patch b/sys-kernel/nvidia-drivers-dkms/files/dkms470.patch
index 2144b6aa..1a6c223c 100644
--- a/sys-kernel/nvidia-drivers-dkms/files/dkms470.patch
+++ b/sys-kernel/nvidia-drivers-dkms/files/dkms470.patch
@@ -1,11 +1,12 @@
diff -Nur a/kernel/dkms.conf b/kernel/dkms.conf
---- a/kernel/dkms.conf 2022-06-30 19:31:05.000000000 +0100
-+++ b/kernel/dkms.conf 2022-10-16 19:27:00.128002886 +0100
-@@ -1,12 +1,21 @@
+--- a/kernel/dkms.conf 2022-10-19 01:02:01.000000000 +0100
++++ b/kernel/dkms.conf 2023-03-29 11:59:55.126812687 +0100
+@@ -1,12 +1,22 @@
-PACKAGE_NAME="nvidia"
-PACKAGE_VERSION="__VERSION_STRING"
+PACKAGE_NAME="nvidia-drivers-dkms"
+PACKAGE_VERSION="470.161.03"
++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,
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,