Patchwork [base] rsyslog: split out conf to separate package

login
register
mail settings
Submitter Jacob Kjaergaard
Date Oct. 21, 2013, 7:37 a.m.
Message ID <1382341050-7573-1-git-send-email-jabk@prevas.dk>
Download mbox | patch
Permalink /patch/285123/
State Accepted
Delegated to: Esben Haabendal
Headers show

Comments

Jacob Kjaergaard - Oct. 21, 2013, 7:37 a.m.
From: Jacob Kjaergaard <jacob.kjaergaard@prevas.dk>

---
 recipes/rsyslog/rsyslog.inc |    7 +++++--
 1 file changed, 5 insertions(+), 2 deletions(-)
Esben Haabendal - Oct. 21, 2013, 10:48 a.m.
Merged to master, thanks.

/Esben

Patch

diff --git a/recipes/rsyslog/rsyslog.inc b/recipes/rsyslog/rsyslog.inc
index 72ed70d..21dccee 100644
--- a/recipes/rsyslog/rsyslog.inc
+++ b/recipes/rsyslog/rsyslog.inc
@@ -30,7 +30,10 @@  do_install_conf() {
 	install ${SRCDIR}/rsyslog.conf ${D}${sysconfdir}/rsyslog.conf
 }
 
-CONFFILES_${PN} = "${sysconfdir}/rsyslog.conf"
+PACKAGES =+ "${PN}-conf"
+
 FILES_${PN}-dev += "${libdir}/${PN}/*.la"
-FILES_${PN} += "${base_libdir}/systemd ${sysconfdir}/rsyslog.conf"
+FILES_${PN} += "${base_libdir}/systemd"
+FILES_${PN}-conf += "${sysconfdir}/rsyslog.conf"
 
+RDEPENDS_${PN} += "${PN}-conf"