fix content of /etc/X11/xorg.conf.d/20-nvidia.conf [release 340.108-14mamba;Tue Feb 14 2023]

This commit is contained in:
Silvan Calarco 2024-01-06 07:47:04 +01:00
parent 77121c304f
commit 9d5df2e5e7

View File

@ -2,7 +2,7 @@
Name: nvidia_340
Version: 340.108
Epoch: 1
Release: 13mamba
Release: 14mamba
Summary: NVIDIA proprietary accelerated drivers for the Linux Kernel
Group: System/Kernel and Hardware
Vendor: openmamba
@ -231,13 +231,13 @@ install -d -m0755 %{buildroot}%{_prefix}/src/%{name}-%{version}
cp -a kernel/* %{buildroot}%{_prefix}/src/%{name}-%{version}/
cat kernel/uvm/dkms.conf.fragment >> %{buildroot}%{_prefix}/src/%{name}-%{version}/dkms.conf
## blacklist nouveau
# blacklist nouveau
install -d -m0755 %{buildroot}%{_modprobedir}
echo "blacklist nouveau
" > %{buildroot}%{_modprobedir}/%{name}.conf
# Install X.org configuration fragment
install -D -m0644 %{SOURCE2} %{buildroot}%{_sysconfdir}/X11/xorg.conf.d/20-nvidia.conf
install -D -m0644 %{SOURCE3} %{buildroot}%{_sysconfdir}/X11/xorg.conf.d/20-nvidia.conf
## Clutter workaround (http://blog.sukimashita.com/2015/04/13/gnome-3-16-and-nvidia-binary-driver-crash-with-totem-gnome-maps-cheese-and-others/)
#mkdir -p %{buildroot}%{_sysconfdir}/profile.d/
@ -338,6 +338,9 @@ fi
%doc current/{NVIDIA_Changelog,README.txt} current/html
%changelog
* Tue Feb 14 2023 Silvan Calarco <silvan.calarco@mambasoft.it> 340.108-14mamba
- fix content of /etc/X11/xorg.conf.d/20-nvidia.conf
* Thu Feb 09 2023 Silvan Calarco <silvan.calarco@mambasoft.it> 340.108-13mamba
- install nvidia-tls.so in libdir; install xorg configuration fragment and blacklist nouveau