diff options
author | Markus Volk <f_l_k@t-online.de> | 2023-11-25 12:15:52 +0100 |
---|---|---|
committer | Steve Sakoman <steve@sakoman.com> | 2024-01-04 04:09:44 -1000 |
commit | 0a9f2a1c17bd18c7dae5fd2ba73da5d9f3937c7d (patch) | |
tree | 4a5a013cd888f36801b2491c28c8a2f67b8343a1 | |
parent | f5a0b258768e4b9e91a4e4ac93b0480c878487e6 (diff) | |
download | poky-0a9f2a1c17bd18c7dae5fd2ba73da5d9f3937c7d.tar.gz |
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.
(From OE-Core rev: 1cca30bb163fbc3f6b79fe3cff6d6b405830a63a)
Signed-off-by: Markus Volk <f_l_k@t-online.de>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit 572fed0ac6dbcf5749e19c7b624826fc30cf301e)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
-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 fa32c38549..4c414b6549 100644 --- a/meta/recipes-extended/cups/cups.inc +++ b/meta/recipes-extended/cups/cups.inc | |||
@@ -55,7 +55,7 @@ EXTRA_OECONF = " \ | |||
55 | --enable-debug \ | 55 | --enable-debug \ |
56 | --disable-relro \ | 56 | --disable-relro \ |
57 | --enable-libusb \ | 57 | --enable-libusb \ |
58 | --with-system-groups=lpadmin \ | 58 | --with-system-groups=lpadmin,root,sys,wheel \ |
59 | --with-cups-group=lp \ | 59 | --with-cups-group=lp \ |
60 | --with-domainsocket=/run/cups/cups.sock \ | 60 | --with-domainsocket=/run/cups/cups.sock \ |
61 | --with-pkgconfpath=${libdir}/pkgconfig \ | 61 | --with-pkgconfpath=${libdir}/pkgconfig \ |