mirror of
https://github.com/void-linux/void-packages.git
synced 2025-07-30 01:12:58 +02:00
systemd: remove all rpm macros; enable getty@tty1 as it was done previously.
This commit is contained in:
parent
0cf84eb00c
commit
56ff043dd7
2 changed files with 3 additions and 3 deletions
|
@ -5,7 +5,7 @@ post)
|
||||||
if [ -c dev/urandom -a ! -f etc/machine-id ]; then
|
if [ -c dev/urandom -a ! -f etc/machine-id ]; then
|
||||||
systemd-machine-id-setup
|
systemd-machine-id-setup
|
||||||
fi
|
fi
|
||||||
systemctl enable getty@.service || :
|
systemctl enable getty@tty1.service || :
|
||||||
|
|
||||||
if [ "$UPDATE" = "yes" -a -e sys/fs/cgroup/systemd ]; then
|
if [ "$UPDATE" = "yes" -a -e sys/fs/cgroup/systemd ]; then
|
||||||
udevadm hwdb --update
|
udevadm hwdb --update
|
||||||
|
|
|
@ -1,7 +1,7 @@
|
||||||
# Template file for 'systemd'
|
# Template file for 'systemd'
|
||||||
pkgname=systemd
|
pkgname=systemd
|
||||||
version=206
|
version=206
|
||||||
revision=1
|
revision=2
|
||||||
short_desc="A system and service manager for Linux"
|
short_desc="A system and service manager for Linux"
|
||||||
maintainer="Juan RP <xtraeme@gmail.com>"
|
maintainer="Juan RP <xtraeme@gmail.com>"
|
||||||
homepage="http://www.freedesktop.org/wiki/Software/systemd"
|
homepage="http://www.freedesktop.org/wiki/Software/systemd"
|
||||||
|
@ -107,7 +107,7 @@ post_install() {
|
||||||
ln -sf /usr/lib/systemd/systemd ${DESTDIR}/usr/sbin/init
|
ln -sf /usr/lib/systemd/systemd ${DESTDIR}/usr/sbin/init
|
||||||
|
|
||||||
# Remove RPM stuff.
|
# Remove RPM stuff.
|
||||||
rm -rf ${DESTDIR}/etc/rpm
|
rm -rf ${DESTDIR}/etc/rpm ${DESTDIR}/usr/lib/rpm
|
||||||
|
|
||||||
# Disable units in /etc; we do this at post-install time.
|
# Disable units in /etc; we do this at post-install time.
|
||||||
rm -rf ${DESTDIR}/etc/systemd/system/getty.target.wants
|
rm -rf ${DESTDIR}/etc/systemd/system/getty.target.wants
|
||||||
|
|
Loading…
Add table
Reference in a new issue