diff mbox series

[PATCHv2] cups: Allow to be controlled by root and users in wheel

Message ID 20231119090047.315176-1-f_l_k@t-online.de
State New
Headers show
Series [PATCHv2] cups: Allow to be controlled by root and users in wheel | expand

Commit Message

Markus Volk Nov. 19, 2023, 9 a.m. UTC
This would be the cleanest way I can think of to enable the configuration of
cups in the user interface

Signed-off-by: Markus Volk <f_l_k@t-online.de>
---
 meta/recipes-extended/cups/cups.inc | 7 ++-----
 1 file changed, 2 insertions(+), 5 deletions(-)
diff mbox series

Patch

diff --git a/meta/recipes-extended/cups/cups.inc b/meta/recipes-extended/cups/cups.inc
index fa32c38549..8fd4d20987 100644
--- a/meta/recipes-extended/cups/cups.inc
+++ b/meta/recipes-extended/cups/cups.inc
@@ -30,10 +30,7 @@  LEAD_SONAME = "libcupsdriver.so"
 
 CLEANBROKEN = "1"
 
-inherit autotools-brokensep binconfig useradd systemd pkgconfig multilib_script github-releases
-
-USERADD_PACKAGES = "${PN}"
-GROUPADD_PARAM:${PN} = "--system lpadmin"
+inherit autotools-brokensep binconfig systemd pkgconfig multilib_script github-releases
 
 SYSTEMD_SERVICE:${PN} = "cups.socket cups.path cups.service cups-lpd.socket"
 
@@ -55,7 +52,7 @@  EXTRA_OECONF = " \
                --enable-debug \
                --disable-relro \
                --enable-libusb \
-               --with-system-groups=lpadmin \
+               --with-system-groups=sys,root,wheel \
                --with-cups-group=lp \
                --with-domainsocket=/run/cups/cups.sock \
                --with-pkgconfpath=${libdir}/pkgconfig \