From a0b56234f7560f858b55420f1ae7dcec9346ad00 Mon Sep 17 00:00:00 2001 From: Juan RP Date: Tue, 11 Oct 2011 16:01:38 +0200 Subject: [PATCH] systemd: create /sbin/init symlink, no more manpage renaming. --- srcpkgs/systemd/template | 8 +++----- 1 file changed, 3 insertions(+), 5 deletions(-) diff --git a/srcpkgs/systemd/template b/srcpkgs/systemd/template index 448c9155e0..d52badcd05 100644 --- a/srcpkgs/systemd/template +++ b/srcpkgs/systemd/template @@ -1,7 +1,7 @@ # Template file for 'systemd' pkgname=systemd version=36 -revision=5 +revision=6 distfiles="http://www.freedesktop.org/software/$pkgname/$pkgname-$version.tar.bz2" build_style=gnu_configure configure_args="--with-distro=other --with-rootdir= --localstatedir=/var @@ -62,10 +62,6 @@ pre_configure() post_install() { - cd ${DESTDIR}/usr/share/man/man8 - for manpage in telinit halt reboot poweroff runlevel shutdown; do - mv ${manpage}.8 ${manpage}-systemd.8 - done vinstall ${FILESDIR}/hostname 644 etc vinstall ${FILESDIR}/vconsole.conf 644 etc vinstall ${FILESDIR}/os-release 644 etc @@ -81,4 +77,6 @@ post_install() for f in halt poweroff shutdown reboot; do ln -sf /bin/systemctl ${DESTDIR}/sbin/${f} done + # Create /sbin/init for compatibility. + ln -sf /bin/systemd ${DESTDIR}/sbin/init }