From: Markus Volk Date: Sat, 25 Nov 2023 11:15:52 +0000 (+0100) Subject: cups: Add root,sys,wheel to system groups X-Git-Tag: yocto-5.2~4458 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=572fed0ac6dbcf5749e19c7b624826fc30cf301e;p=thirdparty%2Fopenembedded%2Fopenembedded-core-contrib.git cups: Add root,sys,wheel to system groups The Cups documentation states: The default contains "admin", "lpadmin", "root", "sys" and/or "system". https://www.cups.org/doc/man-cups-files.conf.html#:~:text=SystemGroup Add root and sys accordingly Also add wheel group. This is required for systems with polkit support in order to control the printer settings with cups-pk-helper. Not only for gnome-control-center, but also when using plain system-config-printer on a system with running polkit, cups-pk-helper would be a required rdepend. Signed-off-by: Markus Volk Signed-off-by: Alexandre Belloni Signed-off-by: Richard Purdie --- diff --git a/meta/recipes-extended/cups/cups.inc b/meta/recipes-extended/cups/cups.inc index ff5f55e62a2..31f686cdfd8 100644 --- a/meta/recipes-extended/cups/cups.inc +++ b/meta/recipes-extended/cups/cups.inc @@ -57,7 +57,7 @@ EXTRA_OECONF = " \ --enable-debug \ --disable-relro \ --enable-libusb \ - --with-system-groups=lpadmin \ + --with-system-groups=lpadmin,root,sys,wheel \ --with-cups-group=lp \ --with-domainsocket=/run/cups/cups.sock \ --with-pkgconfpath=${libdir}/pkgconfig \