public inbox for openembedded-core@lists.openembedded.org
 help / color / mirror / Atom feed
* [PATCH] apt: Set gid to nogroup
@ 2026-01-28  2:25 jaeyoon.jung
  2026-01-29 11:13 ` [OE-core] " Mathieu Dubois-Briand
  0 siblings, 1 reply; 3+ messages in thread
From: jaeyoon.jung @ 2026-01-28  2:25 UTC (permalink / raw)
  To: openembedded-core; +Cc: Jaeyoon Jung

From: Jaeyoon Jung <jaeyoon.jung@lge.com>

With no --no-user-group, it tries to assign "_apt" gid which ends up
with an error when using static gid values and "_apt" is not defined in
USERADD_GID_TABLES. Conventionally "_apt" does not have its own gid but
rather uses "nogroup".

| apt was skipped: Recipe apt, package apt: normal groupname "_apt" does not have a static ID defined.

Signed-off-by: Jaeyoon Jung <jaeyoon.jung@lge.com>
---
 meta/recipes-devtools/apt/apt_3.0.3.bb | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/meta/recipes-devtools/apt/apt_3.0.3.bb b/meta/recipes-devtools/apt/apt_3.0.3.bb
index 7f0a38ab29..d2dfe48e9a 100644
--- a/meta/recipes-devtools/apt/apt_3.0.3.bb
+++ b/meta/recipes-devtools/apt/apt_3.0.3.bb
@@ -38,7 +38,7 @@ inherit cmake perlnative bash-completion useradd
 
 # User is added to allow apt to drop privs, will runtime warn without
 USERADD_PACKAGES = "${PN}"
-USERADD_PARAM:${PN} = "--system --home /nonexistent --no-create-home _apt"
+USERADD_PARAM:${PN} = "--system --home /nonexistent --no-create-home --no-user-group --gid nogroup _apt"
 
 BBCLASSEXTEND = "native nativesdk"
 


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

end of thread, other threads:[~2026-01-30 10:09 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2026-01-28  2:25 [PATCH] apt: Set gid to nogroup jaeyoon.jung
2026-01-29 11:13 ` [OE-core] " Mathieu Dubois-Briand
2026-01-30 10:09   ` 정재윤/Task Leader/SW Platform(연)선행Platform개발실 Lightweight System Task

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox