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(-)

diff --git a/meta/recipes-extended/cups/cups.inc 
b/meta/recipes-extended/cups/cups.inc
index e389d8a2da..1765944568 100644
--- a/meta/recipes-extended/cups/cups.inc
+++ b/meta/recipes-extended/cups/cups.inc
@@ -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)}"
-- 
2.17.1

-=-=-=-=-=-=-=-=-=-=-=-
Links: You receive all messages sent to this group.

View/Reply Online (#139204): 
https://lists.openembedded.org/g/openembedded-core/message/139204
Mute This Topic: https://lists.openembedded.org/mt/74665135/21656
Group Owner: [email protected]
Unsubscribe: https://lists.openembedded.org/g/openembedded-core/unsub  
[[email protected]]
-=-=-=-=-=-=-=-=-=-=-=-

Reply via email to