Skip to contentSkip to conversation

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

PATCH Markus Volk 1 participant 1 message Nov 19, 2023 1 message not in the archive

lore
Share & tools
lore
#1 lore raw
In reply to a message not in the archive

Currently this patch doesnt apply. I'll send a v3 once the cups update is in master-next

Quoted 48 lines · Markus Volk

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 <[email protected] <mailto:[email protected]>>
---
 meta/recipes-extended/cups/cups.inc | 7 ++-----
 1 file changed, 2 insertions(+), 5 deletions(-)
meta/recipes-extended/cups/cups.inc +0 -1
index fa32c38549..8fd4d20987 100644
@@ -30,10 +30,7 @@ LEAD_SONAME = "libcupsdriver.so"
 
 CLEANBROKEN = "1"
 
-inherit autotools-brokensep binconfig useradd systemd pkgconfig 

multilib_script github-releases

meta/recipes-extended/cups/cups.inc +1 -3
-
-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"

meta/recipes-extended/cups/cups.inc +1 -2
@@ -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 \
--

2.42.0

-=-=-=-=-=-=-=-=-=-=-=-
Links: You receive all messages sent to this group.
View/Reply Online (#190868): <https://lists.openembedded.org/g/openembedded-core/message/190868>
Mute This Topic: <https://lists.openembedded.org/mt/102685789/3618223>
Group Owner: [email protected] <mailto:[email protected]>
Unsubscribe: <https://lists.openembedded.org/g/openembedded-core/unsub> [[email protected] <mailto:[email protected]>]
-=-=-=-=-=-=-=-=-=-=-=-