mirror of
https://github.com/void-linux/void-packages.git
synced 2025-06-08 16:13:50 +02:00
systemd: do not depend in sulogin, use /bin/sh for now.
This commit is contained in:
parent
cd29f127f9
commit
8f265e1698
1 changed files with 7 additions and 0 deletions
|
@ -1,6 +1,7 @@
|
||||||
# Template file for 'systemd'
|
# Template file for 'systemd'
|
||||||
pkgname=systemd
|
pkgname=systemd
|
||||||
version=37
|
version=37
|
||||||
|
revision=1
|
||||||
distfiles="http://www.freedesktop.org/software/$pkgname/$pkgname-$version.tar.bz2"
|
distfiles="http://www.freedesktop.org/software/$pkgname/$pkgname-$version.tar.bz2"
|
||||||
build_style=gnu_configure
|
build_style=gnu_configure
|
||||||
configure_args="--with-distro=other --with-rootdir= --localstatedir=/var
|
configure_args="--with-distro=other --with-rootdir= --localstatedir=/var
|
||||||
|
@ -78,4 +79,10 @@ post_install()
|
||||||
done
|
done
|
||||||
# Create /sbin/init for compatibility.
|
# Create /sbin/init for compatibility.
|
||||||
ln -sf /bin/systemd ${DESTDIR}/sbin/init
|
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
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Reference in a new issue