From ac347849e7eeda257afea27fee211bf4c9e42149 Mon Sep 17 00:00:00 2001 From: Dan McGregor Date: Tue, 3 Nov 2015 16:54:35 -0600 Subject: systemd: add machine-id to conffiles If / is mounted read-write machine-id will be overwritten on first boot. This change ensures that the machine-id file persists across package upgrades to systemd. (From OE-Core rev: a25335967ac4aa62d77e862b4b80fed293eba0ad) Signed-off-by: Dan McGregor Signed-off-by: Ross Burton Signed-off-by: Richard Purdie --- meta/recipes-core/systemd/systemd_225.bb | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'meta/recipes-core/systemd') diff --git a/meta/recipes-core/systemd/systemd_225.bb b/meta/recipes-core/systemd/systemd_225.bb index 0b54ac86f9..6393ca0fef 100644 --- a/meta/recipes-core/systemd/systemd_225.bb +++ b/meta/recipes-core/systemd/systemd_225.bb @@ -270,7 +270,8 @@ RRECOMMENDS_${PN}-binfmt = "kernel-module-binfmt-misc" RRECOMMENDS_${PN}-vconsole-setup = "kbd kbd-consolefonts kbd-keymaps" -CONFFILES_${PN} = "${sysconfdir}/systemd/journald.conf \ +CONFFILES_${PN} = "${sysconfdir}/machine-id \ + ${sysconfdir}/systemd/journald.conf \ ${sysconfdir}/systemd/logind.conf \ ${sysconfdir}/systemd/system.conf \ ${sysconfdir}/systemd/user.conf" -- cgit v1.2.3-54-g00ecf