citadel/meta-citadel/recipes-core/systemd/systemd_234.bbappend
Bruce Leidl ae9eb5e2a0 hardcoded /etc/machine-id
Otherwise systemd will bind-mount tmpfs on this file and generate a new
machine-id on each boot.  This causes persistent journal to not
work correctly.
2018-02-18 12:56:04 -05:00

21 lines
730 B
Plaintext

FILESEXTRAPATHS_prepend := "${THISDIR}/${PN}:"
# https://github.com/systemd/systemd/issues/6375
SRC_URI += "file://0001-dont-process-the-same-method-call-twice-in-logind.patch"
RDEPENDS_${PN}_remove = "systemd-serialgetty"
RDEPENDS_${PN}_remove = "volatile-binds"
RDEPENDS_${PN}_remove = "update-rc.d"
ALTERNATIVE_${PN}_remove = "resolv-conf"
GROUPADD_PARAM_${PN} += "; -r kvm"
PACKAGECONFIG = "\
efi ldconfig pam usrmerge rfkill backlight binfmt hostnamed ima localed logind machined myhostname \
nss polkit randomseed seccomp timedated utmp vconsole \
"
do_install_append() {
rm -f ${D}${sysconfdir}/tmpfiles.d/00-create-volatile.conf
echo "a4e415feff81466c925aab34b0c35a3c" > ${D}${sysconfdir}/machine-id
}