All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH 1/2] distcc: Fix groupname gid change warning
@ 2023-08-31 14:23 JD Schroeder
  2023-08-31 14:23 ` [PATCH 2/2] ppp-dialin: " JD Schroeder
  2023-09-01 10:03 ` [OE-core] [PATCH 1/2] distcc: " Alexandre Belloni
  0 siblings, 2 replies; 7+ messages in thread
From: JD Schroeder @ 2023-08-31 14:23 UTC (permalink / raw)
  To: openembedded-core; +Cc: JD Schroeder

This patch fixes warnings when useradd-staticids.bbclass is used and
USERADD_PARAM is used to add the user to a group that has not been
explicitly created yet. By adding the GROUPADD_PARAM for the new group
being used the warnings for changing the gid from GID-OLD to GID-NEW
is eliminated.

Warning fixed:
distcc: Changing groupname nogroup's gid from (WXYZ) to (JKLM), verify configuration files!

Signed-off-by: JD Schroeder <sweng5080@gmail.com>
---
 meta/recipes-devtools/distcc/distcc_3.4.bb | 1 +
 1 file changed, 1 insertion(+)

diff --git a/meta/recipes-devtools/distcc/distcc_3.4.bb b/meta/recipes-devtools/distcc/distcc_3.4.bb
index 45fc7cde53..0c20f74d68 100644
--- a/meta/recipes-devtools/distcc/distcc_3.4.bb
+++ b/meta/recipes-devtools/distcc/distcc_3.4.bb
@@ -33,6 +33,7 @@ EXTRA_OECONF += "--disable-Werror PYTHON='' --disable-pump-mode"
 PACKAGE_BEFORE_PN = "${PN}-distmon-gnome ${PN}-server"
 
 USERADD_PACKAGES = "${PN}-server"
+GROUPADD_PARAM:${PN}-server = "--system nogroup"
 USERADD_PARAM:${PN}-server = "--system \
                        --home /dev/null \
                        --no-create-home \
-- 
2.37.0



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

end of thread, other threads:[~2023-10-26 13:50 UTC | newest]

Thread overview: 7+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2023-08-31 14:23 [PATCH 1/2] distcc: Fix groupname gid change warning JD Schroeder
2023-08-31 14:23 ` [PATCH 2/2] ppp-dialin: " JD Schroeder
2023-09-01 10:03 ` [OE-core] [PATCH 1/2] distcc: " Alexandre Belloni
2023-09-12 11:03   ` Ross Burton
2023-09-27 13:07     ` JD Schroeder
2023-09-27 14:01       ` [OE-core] " Richard Purdie
2023-10-26 13:50         ` JD Schroeder

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.