All of lore.kernel.org
 help / color / mirror / Atom feed
* [oe-core][PATCHv2] cups: Allow to be controlled by root and users in wheel
@ 2023-11-19  9:00 Markus Volk
  0 siblings, 0 replies; 2+ messages in thread
From: Markus Volk @ 2023-11-19  9:00 UTC (permalink / raw)
  To: openembedded-core

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 --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 \
-- 
2.42.0



^ permalink raw reply related	[flat|nested] 2+ messages in thread

* Re: [oe-core][PATCHv2] cups: Allow to be controlled by root and users in wheel
       [not found] <1798FAA070B6A7E4.25909@lists.openembedded.org>
@ 2023-11-19  9:50 ` Markus Volk
  0 siblings, 0 replies; 2+ messages in thread
From: Markus Volk @ 2023-11-19  9:50 UTC (permalink / raw)
  To: Alexandre Belloni; +Cc: openembedded-core

[-- Attachment #1: Type: text/plain, Size: 2108 bytes --]

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

On Sun, Nov 19 2023 at 10:00:47 AM +01:00:00, Markus Volk 
<f_l_k@t-online.de> wrote:
> 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 
> <mailto:f_l_k@t-online.de>>
> ---
>  meta/recipes-extended/cups/cups.inc | 7 ++-----
>  1 file changed, 2 insertions(+), 5 deletions(-)
> 
> 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 \
> --
> 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: openembedded-core+owner@lists.openembedded.org 
> <mailto:openembedded-core+owner@lists.openembedded.org>
> Unsubscribe: 
> <https://lists.openembedded.org/g/openembedded-core/unsub> 
> [f_l_k@t-online.de <mailto:f_l_k@t-online.de>]
> -=-=-=-=-=-=-=-=-=-=-=-
> 


[-- Attachment #2: Type: text/html, Size: 2518 bytes --]

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2023-11-19  9:50 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
     [not found] <1798FAA070B6A7E4.25909@lists.openembedded.org>
2023-11-19  9:50 ` [oe-core][PATCHv2] cups: Allow to be controlled by root and users in wheel Markus Volk
2023-11-19  9:00 Markus Volk

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.