Message ID | 20231119072601.8724-1-f_l_k@t-online.de |
---|---|
State | New |
Headers | show |
Series | cups: Allow to be controlled by root and users in wheel | expand |
diff --git a/meta/recipes-extended/cups/cups.inc b/meta/recipes-extended/cups/cups.inc index fa32c38549..767d33a8e7 100644 --- a/meta/recipes-extended/cups/cups.inc +++ b/meta/recipes-extended/cups/cups.inc @@ -89,6 +89,9 @@ do_install () { install -m 0644 ${WORKDIR}/volatiles.99_cups \ ${D}${sysconfdir}/default/volatiles/99_cups fi + + # Have cups controlled by root and users in wheel group + sed -i -e 's|SystemGroup lpadmin|SystemGroup sys root wheel|g' ${D}${sysconfdir}/cups/cups-files.conf } PACKAGES =+ "${PN}-lib ${PN}-libimage ${PN}-webif"
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 | 3 +++ 1 file changed, 3 insertions(+)