commit 849dfe0824f65db1817ace7ddb3fa09e7e616400
Author: Nicolas Chauvet <kwizart(a)gmail.com>
Date: Fri Jan 21 21:32:20 2022 +0100
Add dbus-nvidia.conf
xorg-x11-drv-nvidia.spec | 7 +++++++
1 file changed, 7 insertions(+)
---
diff --git a/xorg-x11-drv-nvidia.spec b/xorg-x11-drv-nvidia.spec
index d53f807..f67db41 100644
--- a/xorg-x11-drv-nvidia.spec
+++ b/xorg-x11-drv-nvidia.spec
@@ -313,6 +313,12 @@ install -p -m 0644 %{SOURCE7} %{buildroot}%{_udevrulesdir}
# UDev rules for nvidia-uvm
install -p -m 0644 %{SOURCE10} %{buildroot}%{_udevrulesdir}
+# Install dbus config
+install -m 0755 -d %{buildroot}%{_dbus_systemd_dir}
+%ifnarch i686
+install -p -m 0644 nvidia-dbus.conf %{buildroot}%{_dbus_systemd_dir}
+%endif
+
# dracut.conf.d file, nvidia modules must never be in the initrd
install -p -m 0755 -d %{buildroot}%{_dracut_conf_d}/
install -p -m 0644 %{SOURCE12} %{buildroot}%{_dracut_conf_d}/
@@ -451,6 +457,7 @@ fi ||:
%ghost %{_sysconfdir}/X11/xorg.conf.d/99-nvidia.conf
%ghost %{_sysconfdir}/X11/xorg.conf.d/nvidia.conf
%{_datadir}/X11/xorg.conf.d/nvidia.conf
+%{_dbus_systemd_dir}/nvidia-dbus.conf
%{_udevrulesdir}/10-nvidia.rules
%{_udevrulesdir}/60-nvidia.rules
%{_unitdir}/nvidia-fallback.service