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

Submitted by Holger Freyther on Nov. 9, 2012, 1:07 p.m.

Details

Message ID 1352466473-8387-1-git-send-email-holger+oe@freyther.de
State Accepted
Commit 8ae005d033f807659252f07d0fbb7363ea5744fb
Headers show

Commit Message

Holger Freyther Nov. 9, 2012, 1:07 p.m.
From: Holger Hans Peter Freyther <holger@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(-)

Patch hide | download patch | download mbox

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 \