systemd: do not depend in sulogin, use /bin/sh for now.

This commit is contained in:
Juan RP 2011-10-12 14:08:47 +02:00
parent cd29f127f9
commit 8f265e1698
1 changed files with 7 additions and 0 deletions

View File

@ -1,6 +1,7 @@
# Template file for 'systemd'
pkgname=systemd
version=37
revision=1
distfiles="http://www.freedesktop.org/software/$pkgname/$pkgname-$version.tar.bz2"
build_style=gnu_configure
configure_args="--with-distro=other --with-rootdir= --localstatedir=/var
@ -78,4 +79,10 @@ post_install()
done
# Create /sbin/init for compatibility.
ln -sf /bin/systemd ${DESTDIR}/sbin/init
# Do not use /sbin/sulogin, sysvinit has been fully removed.
for f in console-shell emergency rescue; do
sed -i -e "s|/sbin/sulogin|/bin/sh|" \
${DESTDIR}/lib/systemd/system/${f}.service
done
}