From 91d82d9268d5795571480a83fe8e710828846d2d Mon Sep 17 00:00:00 2001 From: Karol Lewandowski Date: Wed, 30 Sep 2020 13:37:47 +0200 Subject: [PATCH] packaging: Ensure systemd-shutdown is owned by systemd Change-Id: I37ced8706c8bb86e465226b01fffe9976edbf08c --- packaging/systemd.spec | 2 ++ 1 file changed, 2 insertions(+) diff --git a/packaging/systemd.spec b/packaging/systemd.spec index f573147..b354ea4 100644 --- a/packaging/systemd.spec +++ b/packaging/systemd.spec @@ -311,6 +311,7 @@ mv %{buildroot}%{_sbindir}/reboot %{buildroot}%{_sbindir}/reboot-original mv %{buildroot}%{_sbindir}/halt %{buildroot}%{_sbindir}/halt-original mv %{buildroot}%{_sbindir}/poweroff %{buildroot}%{_sbindir}/poweroff-original mv %{buildroot}%{_sbindir}/shutdown %{buildroot}%{_sbindir}/shutdown-original +touch %{buildroot}%{_prefix}/lib/systemd/systemd-shutdown touch %{buildroot}%{_sbindir}/reboot touch %{buildroot}%{_sbindir}/halt touch %{buildroot}%{_sbindir}/poweroff @@ -648,6 +649,7 @@ fi %{_prefix}/lib/tmpfiles.d/static-nodes-permissions.conf %{_prefix}/lib/tmpfiles.d/systemd-tmp.conf %{_sbindir}/init +%ghost %{_prefix}/lib/systemd/systemd-shutdown %ghost %{_sbindir}/reboot %ghost %{_sbindir}/halt %ghost %{_sbindir}/poweroff -- 2.7.4