systemd: remove all rpm macros; enable getty@tty1 as it was done previously.
This commit is contained in:
@@ -5,7 +5,7 @@ post)
|
||||
if [ -c dev/urandom -a ! -f etc/machine-id ]; then
|
||||
systemd-machine-id-setup
|
||||
fi
|
||||
systemctl enable getty@.service || :
|
||||
systemctl enable getty@tty1.service || :
|
||||
|
||||
if [ "$UPDATE" = "yes" -a -e sys/fs/cgroup/systemd ]; then
|
||||
udevadm hwdb --update
|
||||
|
||||
@@ -1,7 +1,7 @@
|
||||
# Template file for 'systemd'
|
||||
pkgname=systemd
|
||||
version=206
|
||||
revision=1
|
||||
revision=2
|
||||
short_desc="A system and service manager for Linux"
|
||||
maintainer="Juan RP <xtraeme@gmail.com>"
|
||||
homepage="http://www.freedesktop.org/wiki/Software/systemd"
|
||||
@@ -107,7 +107,7 @@ post_install() {
|
||||
ln -sf /usr/lib/systemd/systemd ${DESTDIR}/usr/sbin/init
|
||||
|
||||
# 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.
|
||||
rm -rf ${DESTDIR}/etc/systemd/system/getty.target.wants
|
||||
|
||||
Reference in New Issue
Block a user