[oe] [meta-oe][meta-systemd][PATCH] systemd: Make the main systemd files proper CONFFILES

Holger Hans Peter Freyther holger+oe at freyther.de
Fri Nov 9 13:07:53 UTC 2012


From: Holger Hans Peter Freyther <holger at moiji-mobile.com>

Allow a user to edit the main systemd configuration files and have
them not overwritten at the next upgrade of it.
---
 meta-systemd/recipes-core/systemd/systemd_git.bb |    7 ++++++-
 1 file changed, 6 insertions(+), 1 deletion(-)

diff --git a/meta-systemd/recipes-core/systemd/systemd_git.bb b/meta-systemd/recipes-core/systemd/systemd_git.bb
index 6deda82..bfd1b30 100644
--- a/meta-systemd/recipes-core/systemd/systemd_git.bb
+++ b/meta-systemd/recipes-core/systemd/systemd_git.bb
@@ -19,7 +19,7 @@ inherit gitpkgv
 PKGV = "v${GITPKGVTAG}"
 
 PV = "git"
-PR = "r9"
+PR = "r10"
 
 inherit useradd pkgconfig autotools perlnative
 
@@ -126,6 +126,11 @@ FILES_${PN}-vconsole-setup = "${systemd_unitdir}/systemd-vconsole-setup \
 
 RRECOMMENDS_${PN}-vconsole-setup = "kbd kbd-consolefonts"
 
+CONFFILES_${PN} = "${sysconfdir}/systemd/journald.conf \
+                ${sysconfdir}/systemd/logind.conf \
+                ${sysconfdir}/systemd/system.conf \
+                ${sysconfdir}/systemd/user.conf"
+
 FILES_${PN} = " ${base_bindir}/* \
                 ${datadir}/dbus-1/services \
                 ${datadir}/dbus-1/system-services \
-- 
1.7.10.4





More information about the Openembedded-devel mailing list