Skip to contentSkip to conversation

cups.inc: remove template service from SYSTEMD_SERVICE

PATCH New Changqing Li 1 participant 1 message Jun 4, 2020

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 cups.inc: remove template service from SYSTEMD_SERVICE

From: Changqing Li <[email protected]>

this template service need to triggered by org.cups.cups-lpd.socket,
which will assigned an instance id for [email protected],
like [email protected]. add this in SYSTEMD_SERVICE will
cause post scriptlet fail as:
Failed to start [email protected]: Unit name [email protected] is missing the instance name. See system logs and 'systemctl status [email protected]' for details.

---
 meta/recipes-extended/cups/cups.inc | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
meta/recipes-extended/cups/cups.inc +1 -1
index e389d8a2da..1765944568 100644
@@ -29,7 +29,7 @@ inherit autotools-brokensep binconfig useradd systemd pkgconfig multilib_script
 USERADD_PACKAGES = "${PN}"
 GROUPADD_PARAM_${PN} = "--system lpadmin"
 
-SYSTEMD_SERVICE_${PN} = "org.cups.cupsd.socket org.cups.cupsd.path org.cups.cupsd.service org.cups.cups-lpd.socket [email protected]"
+SYSTEMD_SERVICE_${PN} = "org.cups.cupsd.socket org.cups.cupsd.path org.cups.cupsd.service org.cups.cups-lpd.socket"
 
 PACKAGECONFIG ??= "${@bb.utils.contains('DISTRO_FEATURES', 'zeroconf', 'avahi', '', d)} \
                    ${@bb.utils.filter('DISTRO_FEATURES', 'pam systemd', d)}"
Signature · 1 line
2.17.1