summaryrefslogtreecommitdiffstats
path: root/meta/recipes-core/base-passwd
diff options
context:
space:
mode:
authorLouis Rannou <lrannou@baylibre.com>2023-06-15 13:43:55 +0200
committerRichard Purdie <richard.purdie@linuxfoundation.org>2023-06-17 11:50:57 +0100
commit5eb501113730ec1040a548a31855acf568bea702 (patch)
treeea2a6998e47914a844fbfc4f062cbbaa2f8fa51d /meta/recipes-core/base-passwd
parentab0f42536f6a17dfc914ece59aefc214b93f60c7 (diff)
downloadpoky-5eb501113730ec1040a548a31855acf568bea702.tar.gz
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: bebe52ae9576393ebb9d7405fc77fba21e84ba5b) Signed-off-by: Louis Rannou <lrannou@baylibre.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta/recipes-core/base-passwd')
-rw-r--r--meta/recipes-core/base-passwd/base-passwd/0007-Add-wheel-group.patch20
-rw-r--r--meta/recipes-core/base-passwd/base-passwd_3.6.1.bb1
2 files changed, 21 insertions, 0 deletions
diff --git a/meta/recipes-core/base-passwd/base-passwd/0007-Add-wheel-group.patch b/meta/recipes-core/base-passwd/base-passwd/0007-Add-wheel-group.patch
new file mode 100644
index 0000000000..00eaec38a2
--- /dev/null
+++ b/meta/recipes-core/base-passwd/base-passwd/0007-Add-wheel-group.patch
@@ -0,0 +1,20 @@
1
2We need to have a wheel group which has some system privileges to consult the
3systemd journal or manage printers with cups.
4
5Upstream status says the group does not exist by default.
6
7Upstream-Status: Inappropriate [enable feature]
8
9Signed-off-by: Louis Rannou <lrannou@baylibre.com>
10Index: base-passwd-3.5.26/group.master
11===================================================================
12--- base-passwd-3.5.29.orig/group.master
13+++ base-passwd-3.5.29/group.master
14@@ -38,5 +38,6 @@
15 staff:*:50:
16 games:*:60:
17 shutdown:*:70:
18+wheel:*:80:
19 users:*:100:
20 nogroup:*:65534:
diff --git a/meta/recipes-core/base-passwd/base-passwd_3.6.1.bb b/meta/recipes-core/base-passwd/base-passwd_3.6.1.bb
index 853717176d..204016b3e7 100644
--- a/meta/recipes-core/base-passwd/base-passwd_3.6.1.bb
+++ b/meta/recipes-core/base-passwd/base-passwd_3.6.1.bb
@@ -12,6 +12,7 @@ SRC_URI = "https://launchpad.net/debian/+archive/primary/+files/${BPN}_${PV}.tar
12 file://0004-Add-an-input-group-for-the-dev-input-devices.patch \ 12 file://0004-Add-an-input-group-for-the-dev-input-devices.patch \
13 file://0005-Add-kvm-group.patch \ 13 file://0005-Add-kvm-group.patch \
14 file://0006-Make-it-possible-to-configure-whether-to-use-SELinux.patch \ 14 file://0006-Make-it-possible-to-configure-whether-to-use-SELinux.patch \
15 file://0007-Add-wheel-group.patch \
15 " 16 "
16 17
17SRC_URI[sha256sum] = "6ff369be59d586ba63c0c5fcb00f75f9953fe49db88bc6c6428f2c92866f79af" 18SRC_URI[sha256sum] = "6ff369be59d586ba63c0c5fcb00f75f9953fe49db88bc6c6428f2c92866f79af"