cups.inc: remove template service from SYSTEMD_SERVICE
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.
Signed-off-by Changqing Li <[email protected]>
--- meta/recipes-extended/cups/cups.inc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
meta/recipes-extended/cups/cups.inc +1 -1
@@ -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