All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH] cups: explicitly configure with systemd when needed
@ 2015-10-21 17:41 Andrew Shadura
  2015-10-22 10:59 ` Burton, Ross
  0 siblings, 1 reply; 12+ messages in thread
From: Andrew Shadura @ 2015-10-21 17:41 UTC (permalink / raw)
  To: OE Core

Add PACKAGECONFIG for systemd, enable it when systemd is enabled
in DISTRO_FEATURES. Pass the correct path to systemd units,
ensure they're installed into the package.

Signed-off-by: Andrew Shadura <andrew.shadura@collabora.co.uk>
---
I hope this patch will be merged before jethro is released :)

 meta/recipes-extended/cups/cups.inc | 3 +++
 1 file changed, 3 insertions(+)

diff --git a/meta/recipes-extended/cups/cups.inc b/meta/recipes-extended/cups/cups.inc
index 2c34da9..ad980fc 100644
--- a/meta/recipes-extended/cups/cups.inc
+++ b/meta/recipes-extended/cups/cups.inc
@@ -24,10 +24,12 @@ GROUPADD_PARAM_${PN} = "--system lpadmin"
 SYSTEMD_SERVICE_${PN} = "cups.socket cups.path cups.service"
 
 PACKAGECONFIG ??= "${@bb.utils.contains('DISTRO_FEATURES', 'zeroconf', 'avahi', '', d)} \
+                   ${@bb.utils.contains('DISTRO_FEATURES', 'systemd', 'systemd', '', d)} \
                    ${@bb.utils.contains('DISTRO_FEATURES', 'pam', 'pam', '', d)}"
 PACKAGECONFIG[avahi] = "--enable-avahi,--disable-avahi,avahi"
 PACKAGECONFIG[acl] = "--enable-acl,--disable-acl,acl"
 PACKAGECONFIG[pam] = "--enable-pam, --disable-pam, libpam"
+PACKAGECONFIG[systemd] = "--with-systemd=${systemd_system_unitdir},--without-systemd,systemd"
 PACKAGECONFIG[xinetd] = "--with-xinetd=${sysconfdir}/xinetd.d,--without-xinetd,xinetd"
 
 EXTRA_OECONF = " \
@@ -100,6 +102,7 @@ FILES_${PN} += "${libdir}/cups/backend \
 		${libdir}/cups/monitor \
 		${libdir}/cups/notifier \
 		${libdir}/cups/daemon \
+		${systemd_system_unitdir} \
 	       "
 
 FILES_${PN}-lib = "${libdir}/libcups.so.*"
-- 
2.1.4



^ permalink raw reply related	[flat|nested] 12+ messages in thread

end of thread, other threads:[~2016-01-18 14:44 UTC | newest]

Thread overview: 12+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2015-10-21 17:41 [PATCH] cups: explicitly configure with systemd when needed Andrew Shadura
2015-10-22 10:59 ` Burton, Ross
2015-10-22 11:06   ` Andrew Shadura
2015-10-22 11:20     ` Burton, Ross
2015-10-22 14:00       ` [PATCH v2] cups: update systemd support Andrew Shadura
2015-11-02 14:47         ` Andrew Shadura
     [not found]         ` <562EAA43.8020604@collabora.co.uk>
2015-11-20 13:48           ` Andrew Shadura
2015-12-11 21:39         ` Burton, Ross
2015-12-30 10:53           ` Andrew Shadura
2016-01-08 15:34             ` Martin Jansa
2016-01-08 15:37               ` Andrew Shadura
2016-01-18 14:44                 ` Burton, Ross

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.