commit 7332df8de4b34f9d00ca183d774e1e08fcf587fc
Author: Leigh Scott <leigh123linux(a)gmail.com>
Date: Thu Dec 21 12:42:08 2023 +0000
fix
xorg-x11-drv-nvidia.spec | 7 +++----
1 file changed, 3 insertions(+), 4 deletions(-)
---
diff --git a/xorg-x11-drv-nvidia.spec b/xorg-x11-drv-nvidia.spec
index d1cd6ba..8e34b0e 100644
--- a/xorg-x11-drv-nvidia.spec
+++ b/xorg-x11-drv-nvidia.spec
@@ -389,13 +389,12 @@ install -p -m 0644 %{SOURCE17}
%{buildroot}%{_systemd_util_dir}/system-preset/
install -p -m 0644 systemd/system/nvidia-{hibernate,resume,suspend}.service
%{buildroot}%{_unitdir}
%ifarch x86_64
install -p -m 0644 systemd/system/nvidia-powerd.service %{buildroot}%{_unitdir}
-%endif
-install -p -m 0755 systemd/system-sleep/nvidia
%{buildroot}%{_systemd_util_dir}/system-sleep/
-install -p -m 0755 systemd/nvidia-sleep.sh %{buildroot}%{_bindir}
-
# Ignore powerd binary exiting if hardware is not present
# We should check for information in the DMI table
sed -i -e 's/ExecStart=/ExecStart=-/g'
%{buildroot}%{_unitdir}/nvidia-powerd.service
+%endif
+install -p -m 0755 systemd/system-sleep/nvidia
%{buildroot}%{_systemd_util_dir}/system-sleep/
+install -p -m 0755 systemd/nvidia-sleep.sh %{buildroot}%{_bindir}
# Firmware
mkdir -p %{buildroot}%{_firmwarepath}/nvidia/%{version}/
Show replies by date