|
|
@ -10,7 +10,7 @@
|
|
|
|
%global _firmwarepath %{_prefix}/lib/firmware
|
|
|
|
%global _firmwarepath %{_prefix}/lib/firmware
|
|
|
|
%global _winedir %{_libdir}/nvidia/wine
|
|
|
|
%global _winedir %{_libdir}/nvidia/wine
|
|
|
|
%global _dracutopts rd.driver.blacklist=nouveau modprobe.blacklist=nouveau
|
|
|
|
%global _dracutopts rd.driver.blacklist=nouveau modprobe.blacklist=nouveau
|
|
|
|
%global _dracutopts_removed initcall_blacklist=simpledrm_platform_driver_init nvidia-drm.modeset=1
|
|
|
|
%global _dracutopts_removed initcall_blacklist=simpledrm_platform_driver_init nvidia-drm.modeset=1 nvidia-drm.fbdev=1
|
|
|
|
%if 0%{?rhel}
|
|
|
|
%if 0%{?rhel}
|
|
|
|
%global _systemd_util_dir %{_prefix}/lib/systemd
|
|
|
|
%global _systemd_util_dir %{_prefix}/lib/systemd
|
|
|
|
%endif
|
|
|
|
%endif
|
|
|
@ -421,7 +421,7 @@ if [ "$1" -eq "1" ]; then
|
|
|
|
%{_grubby} --remove-args='nomodeset' --args='%{_dracutopts}' &>/dev/null
|
|
|
|
%{_grubby} --remove-args='nomodeset' --args='%{_dracutopts}' &>/dev/null
|
|
|
|
fi || :
|
|
|
|
fi || :
|
|
|
|
|
|
|
|
|
|
|
|
%triggerun -- xorg-x11-drv-nvidia < 3:560.31.02-5
|
|
|
|
%triggerun -- xorg-x11-drv-nvidia < 3:560.35.03-2
|
|
|
|
%{_grubby} --remove-args='%{_dracutopts_removed}' &>/dev/null || :
|
|
|
|
%{_grubby} --remove-args='%{_dracutopts_removed}' &>/dev/null || :
|
|
|
|
|
|
|
|
|
|
|
|
%preun
|
|
|
|
%preun
|
|
|
|