base-passwd: add the wheel group

The wheel group is not declared while it can be used to access the systemd
journal and to configure printers in CUPS. It can also be used for su and sudo
permissions.

So far it was created later in the rootfs postcommand systemd_create_users.

(From OE-Core rev: 4cafad1a0ef5506151656fd644dcdf3193245173)

Signed-off-by: Louis Rannou <lrannou@baylibre.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit bebe52ae9576393ebb9d7405fc77fba21e84ba5b)
Signed-off-by: Jonas Gorski <jonas.gorski@bisdn.de>
Signed-off-by: Steve Sakoman <steve@sakoman.com>
This commit is contained in:
Louis Rannou
2024-12-17 12:12:27 +01:00
committed by Steve Sakoman
parent 0b1e1d5007
commit 4050e16d26
2 changed files with 21 additions and 0 deletions

View File

@@ -0,0 +1,20 @@
We need to have a wheel group which has some system privileges to consult the
systemd journal or manage printers with cups.
Upstream status says the group does not exist by default.
Upstream-Status: Inappropriate [enable feature]
Signed-off-by: Louis Rannou <lrannou@baylibre.com>
Index: base-passwd-3.5.26/group.master
===================================================================
--- base-passwd-3.5.29.orig/group.master
+++ base-passwd-3.5.29/group.master
@@ -38,5 +38,6 @@
staff:*:50:
games:*:60:
shutdown:*:70:
+wheel:*:80:
users:*:100:
nogroup:*:65534:

View File

@@ -13,6 +13,7 @@ SRC_URI = "https://launchpad.net/debian/+archive/primary/+files/${BPN}_${PV}.tar
file://0005-Add-kvm-group.patch \
file://0006-Make-it-possible-to-build-without-debconf-support.patch \
file://0007-Make-it-possible-to-disable-the-generation-of-the-do.patch \
file://0008-Add-wheel-group.patch \
"
SRC_URI[sha256sum] = "5dfec6556b5a16ecf14dd3f7c95b591d929270289268123f31a3d6317f95ccea"