summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--meta/recipes-extended/cups/cups.inc6
1 files changed, 5 insertions, 1 deletions
diff --git a/meta/recipes-extended/cups/cups.inc b/meta/recipes-extended/cups/cups.inc
index adf21eb17e..162b3fd844 100644
--- a/meta/recipes-extended/cups/cups.inc
+++ b/meta/recipes-extended/cups/cups.inc
@@ -12,7 +12,10 @@ SRC_URI = "http://www.cups.org/software/${PV}/${BP}-source.tar.bz2 \
12 12
13LEAD_SONAME = "libcupsdriver.so" 13LEAD_SONAME = "libcupsdriver.so"
14 14
15inherit autotools-brokensep binconfig 15inherit autotools-brokensep binconfig useradd
16
17USERADD_PACKAGES = "${PN}"
18GROUPADD_PARAM_${PN} = "--system lpadmin"
16 19
17PACKAGECONFIG ??= "${@bb.utils.contains('DISTRO_FEATURES', 'zeroconf', 'avahi', '', d)} \ 20PACKAGECONFIG ??= "${@bb.utils.contains('DISTRO_FEATURES', 'zeroconf', 'avahi', '', d)} \
18 ${@bb.utils.contains('DISTRO_FEATURES', 'pam', 'pam', '', d)}" 21 ${@bb.utils.contains('DISTRO_FEATURES', 'pam', 'pam', '', d)}"
@@ -79,6 +82,7 @@ python do_package_append() {
79 82
80PACKAGES =+ "${PN}-lib ${PN}-libimage" 83PACKAGES =+ "${PN}-lib ${PN}-libimage"
81 84
85RDEPENDS_${PN} += "${@bb.utils.contains('DISTRO_FEATURES', 'sysvinit', 'procps', '', d)}"
82FILES_${PN} += "${libdir}/cups/backend \ 86FILES_${PN} += "${libdir}/cups/backend \
83 ${libdir}/cups/cgi-bin \ 87 ${libdir}/cups/cgi-bin \
84 ${libdir}/cups/filter \ 88 ${libdir}/cups/filter \