commit d10910e6154b159932bfff383f72df7a5de95e0d
Author: Nicolas Chauvet <kwizart(a)gmail.com>
Date: Thu Nov 2 17:04:58 2023 +0100
Add --with nvidia_defaults
nvidia-kmod.spec | 5 +++++
1 file changed, 5 insertions(+)
---
diff --git a/nvidia-kmod.spec b/nvidia-kmod.spec
index cacaf83..b66e36d 100644
--- a/nvidia-kmod.spec
+++ b/nvidia-kmod.spec
@@ -47,7 +47,12 @@ mv kernel kernel-closed
mv kernel-open kernel
%endif
# patch loop
+%if 0%{?_with_nvidia_defaults:1}
+echo "Using original nvidia defaults"
+%else
+echo "Set nvidia to fbdev=1 modeset=1"
%patch -P0 -p1
+%endif
for kernel_version in %{?kernel_versions} ; do
cp -a kernel _kmod_build_${kernel_version%%___*}
Show replies by date