summaryrefslogtreecommitdiffstats
path: root/meta/recipes-core
diff options
context:
space:
mode:
authorLouis Rannou <lrannou@baylibre.com>2024-12-17 12:12:27 +0100
committerSteve Sakoman <steve@sakoman.com>2024-12-20 06:01:45 -0800
commit4050e16d261d0fb116ec1ed04d2bd7bc12dfa5d2 (patch)
treed176e36c575dc757fde6b42882fc59f2b850f940 /meta/recipes-core
parent0b1e1d50070f9de390e7a6f109e86c3ba111847e (diff)
downloadpoky-4050e16d261d0fb116ec1ed04d2bd7bc12dfa5d2.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: 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>
Diffstat (limited to 'meta/recipes-core')
-rw-r--r--meta/recipes-core/base-passwd/base-passwd/0008-Add-wheel-group.patch20
-rw-r--r--meta/recipes-core/base-passwd/base-passwd_3.5.52.bb1
2 files changed, 21 insertions, 0 deletions
diff --git a/meta/recipes-core/base-passwd/base-passwd/0008-Add-wheel-group.patch b/meta/recipes-core/base-passwd/base-passwd/0008-Add-wheel-group.patch
new file mode 100644
index 0000000000..00eaec38a2
--- /dev/null
+++ b/meta/recipes-core/base-passwd/base-passwd/0008-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.5.52.bb b/meta/recipes-core/base-passwd/base-passwd_3.5.52.bb
index f89752c077..66b5a0e7dc 100644
--- a/meta/recipes-core/base-passwd/base-passwd_3.5.52.bb
+++ b/meta/recipes-core/base-passwd/base-passwd_3.5.52.bb
@@ -13,6 +13,7 @@ SRC_URI = "https://launchpad.net/debian/+archive/primary/+files/${BPN}_${PV}.tar
13 file://0005-Add-kvm-group.patch \ 13 file://0005-Add-kvm-group.patch \
14 file://0006-Make-it-possible-to-build-without-debconf-support.patch \ 14 file://0006-Make-it-possible-to-build-without-debconf-support.patch \
15 file://0007-Make-it-possible-to-disable-the-generation-of-the-do.patch \ 15 file://0007-Make-it-possible-to-disable-the-generation-of-the-do.patch \
16 file://0008-Add-wheel-group.patch \
16 " 17 "
17 18
18SRC_URI[sha256sum] = "5dfec6556b5a16ecf14dd3f7c95b591d929270289268123f31a3d6317f95ccea" 19SRC_URI[sha256sum] = "5dfec6556b5a16ecf14dd3f7c95b591d929270289268123f31a3d6317f95ccea"