diff options
author | Changqing Li <changqing.li@windriver.com> | 2020-06-04 11:28:12 +0800 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2020-06-09 13:13:59 +0100 |
commit | 611d60f4c57853094dc078a44e2d3875b5710299 (patch) | |
tree | a1ece93746211cace064ea5fd00ee2374c6c2c8a /meta/recipes-extended/cups | |
parent | fb9c85e3bf320c50596098cd141f8e56b001a617 (diff) | |
download | poky-611d60f4c57853094dc078a44e2d3875b5710299.tar.gz |
cups.inc: remove template service from SYSTEMD_SERVICE
this template service need to triggered by org.cups.cups-lpd.socket,
which will assigned an instance id for org.cups.cups-lpd@.service,
like org.cups.cups-lpd@0.service. add this in SYSTEMD_SERVICE will
cause post scriptlet fail as:
Failed to start org.cups.cups-lpd@.service: Unit name org.cups.cups-lpd@.service is missing the instance name.
See system logs and 'systemctl status org.cups.cups-lpd@.service' for details.
(From OE-Core rev: 4bb87c8b28b58a469c01f4a051361aa099cdfe1a)
Signed-off-by: Changqing Li <changqing.li@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta/recipes-extended/cups')
-rw-r--r-- | meta/recipes-extended/cups/cups.inc | 2 |
1 files changed, 1 insertions, 1 deletions
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 | |||
29 | USERADD_PACKAGES = "${PN}" | 29 | USERADD_PACKAGES = "${PN}" |
30 | GROUPADD_PARAM_${PN} = "--system lpadmin" | 30 | GROUPADD_PARAM_${PN} = "--system lpadmin" |
31 | 31 | ||
32 | SYSTEMD_SERVICE_${PN} = "org.cups.cupsd.socket org.cups.cupsd.path org.cups.cupsd.service org.cups.cups-lpd.socket org.cups.cups-lpd@.service" | 32 | SYSTEMD_SERVICE_${PN} = "org.cups.cupsd.socket org.cups.cupsd.path org.cups.cupsd.service org.cups.cups-lpd.socket" |
33 | 33 | ||
34 | PACKAGECONFIG ??= "${@bb.utils.contains('DISTRO_FEATURES', 'zeroconf', 'avahi', '', d)} \ | 34 | PACKAGECONFIG ??= "${@bb.utils.contains('DISTRO_FEATURES', 'zeroconf', 'avahi', '', d)} \ |
35 | ${@bb.utils.filter('DISTRO_FEATURES', 'pam systemd', d)}" | 35 | ${@bb.utils.filter('DISTRO_FEATURES', 'pam systemd', d)}" |