[systemd] add F16 compatibility symlink for loginctl to systemd-loginctl
Lennart Poettering
lennart at fedoraproject.org
Thu May 24 21:46:30 UTC 2012
commit e0a2736b5f254721d573ecbc4c5e96d9ea106f3f
Author: Lennart Poettering <lennart at poettering.net>
Date: Thu May 24 23:45:56 2012 +0200
add F16 compatibility symlink for loginctl to systemd-loginctl
systemd.spec | 5 ++++-
1 files changed, 4 insertions(+), 1 deletions(-)
---
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
More information about the scm-commits
mailing list