|
|
|
@ -10,7 +10,7 @@
|
|
|
|
|
%global _firmwarepath %{_prefix}/lib/firmware
|
|
|
|
|
%global _winedir %{_libdir}/nvidia/wine
|
|
|
|
|
%if 0%{?fedora} || 0%{?rhel} > 7
|
|
|
|
|
%global _dracutopts rd.driver.blacklist=nouveau modprobe.blacklist=nouveau nvidia-drm.modeset=1
|
|
|
|
|
%global _dracutopts rd.driver.blacklist=nouveau modprobe.blacklist=nouveau nvidia-drm.modeset=1 initcall_blacklist=simpledrm_platform_driver_init
|
|
|
|
|
%else
|
|
|
|
|
%global _dracutopts nouveau.modeset=0 rd.driver.blacklist=nouveau nvidia-drm.modeset=1
|
|
|
|
|
%global _modprobedir %{_prefix}/lib/modprobe.d
|
|
|
|
|