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:
parent
165b86e4aa
commit
ae9eb5e2a0
@ -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
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user