systemd: create /sbin/init symlink, no more manpage renaming.

This commit is contained in:
Juan RP 2011-10-11 16:01:38 +02:00
parent dc63bee41c
commit a0b56234f7

View File

@ -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
}