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.
This commit is contained in:
Bruce Leidl 2018-02-18 12:56:04 -05:00
parent 165b86e4aa
commit ae9eb5e2a0

View File

@ -16,4 +16,5 @@ PACKAGECONFIG = "\
do_install_append() { do_install_append() {
rm -f ${D}${sysconfdir}/tmpfiles.d/00-create-volatile.conf rm -f ${D}${sysconfdir}/tmpfiles.d/00-create-volatile.conf
echo "a4e415feff81466c925aab34b0c35a3c" > ${D}${sysconfdir}/machine-id
} }