void-packages/srcpkgs/systemd/INSTALL
Juan RP 0090b549c0 systemd: do not run machine-id-setup nor enable getty@tty1 at post-install.
Reason: systemctl can't know exactly what's the rootdir to enable services,
and/or hardcodes the location for the machine-id(5) file.

Use default systemd symlinks for getty@tty1 and let systemd generate the
machine-id(5) at boot time.
2013-02-26 09:44:19 +01:00

11 lines
270 B
Text

case "${ACTION}" in
post)
setcap cap_dac_override,cap_sys_ptrace+ep usr/bin/systemd-detect-virt || :
if [ "$UPDATE" = "yes" -a -e sys/fs/cgroup/systemd ]; then
udevadm hwdb --update
journalctl --update-catalog
systemctl --system daemon-reexec || :
fi
;;
esac