From: Dan McGregor Date: Tue, 3 Nov 2015 22:54:35 +0000 (-0600) Subject: systemd: add machine-id to conffiles X-Git-Tag: lucaceresoli/bug-15201-perf-libtraceevent-missing~28347 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=a25335967ac4aa62d77e862b4b80fed293eba0ad;p=thirdparty%2Fopenembedded%2Fopenembedded-core-contrib.git 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. Signed-off-by: Dan McGregor Signed-off-by: Ross Burton --- diff --git a/meta/recipes-core/systemd/systemd_225.bb b/meta/recipes-core/systemd/systemd_225.bb index 0b54ac86f96..6393ca0fef5 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"