From: Jaeyoon Jung <[email protected]>

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 <[email protected]>
---
 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"
 
-=-=-=-=-=-=-=-=-=-=-=-
Links: You receive all messages sent to this group.
View/Reply Online (#230069): 
https://lists.openembedded.org/g/openembedded-core/message/230069
Mute This Topic: https://lists.openembedded.org/mt/117501926/21656
Group Owner: [email protected]
Unsubscribe: https://lists.openembedded.org/g/openembedded-core/unsub 
[[email protected]]
-=-=-=-=-=-=-=-=-=-=-=-

Reply via email to