summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorV3n3RiX <venerix@koprulu.sector>2025-01-24 11:26:30 +0000
committerV3n3RiX <venerix@koprulu.sector>2025-01-24 11:26:30 +0000
commit34213088468f1298547d5c52279d52868e658216 (patch)
treeaf7fd4bc5c6e63139f2d85fbf3f90430043fc9ab
parentb3236791e1c88da882fc5caccec31a1b13f3e505 (diff)
x11-drivers/nvidia-drivers:4 : lower max supported kernel to v6.6.x (https://gitweb.gentoo.org/repo/gentoo.git/commit/x11-drivers/nvidia-drivers?id=29cc34d861723c656f21e1bf96126996de4ab00a)
-rw-r--r--sys-kernel/nvidia-drivers-dkms/files/dkms470.patch2
-rw-r--r--sys-kernel/nvidia-drivers-dkms/nvidia-drivers-dkms-470.256.02-r1.ebuild (renamed from sys-kernel/nvidia-drivers-dkms/nvidia-drivers-dkms-470.256.02.ebuild)0
-rw-r--r--x11-drivers/nvidia-drivers/nvidia-drivers-470.256.02-r6.ebuild (renamed from x11-drivers/nvidia-drivers/nvidia-drivers-470.256.02-r5.ebuild)9
3 files changed, 10 insertions, 1 deletions
diff --git a/sys-kernel/nvidia-drivers-dkms/files/dkms470.patch b/sys-kernel/nvidia-drivers-dkms/files/dkms470.patch
index 6e1f0450..0f19671b 100644
--- a/sys-kernel/nvidia-drivers-dkms/files/dkms470.patch
+++ b/sys-kernel/nvidia-drivers-dkms/files/dkms470.patch
@@ -6,7 +6,7 @@ diff -Nur a/kernel/dkms.conf b/kernel/dkms.conf
-PACKAGE_VERSION="__VERSION_STRING"
+PACKAGE_NAME="nvidia-drivers-dkms"
+PACKAGE_VERSION="470.256.02"
-+BUILD_EXCLUSIVE_KERNEL="^(5\.[0-9]+\.|6\.[0-9]\.)" # only build for kernels v5.x.x up to and including v6.9.x
++BUILD_EXCLUSIVE_KERNEL="^(5\.[0-9]+\.|6\.[0-6]\.)" # only build for kernels v5.x.x up to and including v6.6.x
AUTOINSTALL="yes"
# By default, DKMS will add KERNELRELEASE to the make command line; however,
diff --git a/sys-kernel/nvidia-drivers-dkms/nvidia-drivers-dkms-470.256.02.ebuild b/sys-kernel/nvidia-drivers-dkms/nvidia-drivers-dkms-470.256.02-r1.ebuild
index 651e3ef6..651e3ef6 100644
--- a/sys-kernel/nvidia-drivers-dkms/nvidia-drivers-dkms-470.256.02.ebuild
+++ b/sys-kernel/nvidia-drivers-dkms/nvidia-drivers-dkms-470.256.02-r1.ebuild
diff --git a/x11-drivers/nvidia-drivers/nvidia-drivers-470.256.02-r5.ebuild b/x11-drivers/nvidia-drivers/nvidia-drivers-470.256.02-r6.ebuild
index 4598d1da..31ffe7eb 100644
--- a/x11-drivers/nvidia-drivers/nvidia-drivers-470.256.02-r5.ebuild
+++ b/x11-drivers/nvidia-drivers/nvidia-drivers-470.256.02-r6.ebuild
@@ -349,6 +349,15 @@ pkg_postinst() {
fi
readme.gentoo_print_elog
+ ewarn
+ ewarn "Be warned/reminded that the 470.xx branch reached end-of-life and"
+ ewarn "NVIDIA is no longer fixing issues (including security). Free to keep"
+ ewarn "using (for now) but it is recommended to either switch to nouveau or"
+ ewarn "replace hardware. Will be kept in-tree while possible, but expect it"
+ ewarn "to be removed likely in early 2027 or earlier if major issues arise."
+ ewarn
+ ewarn "Note that there is no plans to patch in support for kernels branches"
+ ewarn "newer than 6.6.x which will be supported upstream until December 2026."
if [[ $(</proc/cmdline) == *slub_debug=[!-]* ]]; then
ewarn "Detected that the current kernel command line is using 'slub_debug=',"