From e0a2736b5f254721d573ecbc4c5e96d9ea106f3f Mon Sep 17 00:00:00 2001 From: Lennart Poettering Date: Thu, 24 May 2012 23:45:56 +0200 Subject: [PATCH] add F16 compatibility symlink for loginctl to systemd-loginctl --- systemd.spec | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/systemd.spec b/systemd.spec index 78bebc4..632cb86 100644 --- a/systemd.spec +++ b/systemd.spec @@ -167,10 +167,12 @@ ln -s ../bin/systemctl %{buildroot}%{_sbindir}/shutdown ln -s ../bin/systemctl %{buildroot}%{_sbindir}/telinit ln -s ../bin/systemctl %{buildroot}%{_sbindir}/runlevel +ln -s loginctl %{buildroot}%{_bindir}/systemd-loginctl + # We create all wants links manually at installation time to make sure # they are not owned and hence overriden by rpm after the used deleted # them. -rm -r %{buildroot}/etc/systemd/system/*.target.wants +rm -r %{buildroot}%{_sysconfdir}/systemd/system/*.target.wants # Make sure the ghost-ing below works touch %{buildroot}%{_sysconfdir}/systemd/system/runlevel2.target @@ -354,6 +356,7 @@ mv /etc/systemd/system/default.target.save /etc/systemd/system/default.target >/ %{_bindir}/systemd-tty-ask-password-agent %{_bindir}/systemd-machine-id-setup %{_bindir}/loginctl +%{_bindir}/systemd-loginctl %{_bindir}/journalctl %{_bindir}/systemd-tmpfiles %{_bindir}/systemd-nspawn