diff options
author | JD Schroeder <sweng5080@gmail.com> | 2023-08-03 12:47:47 -0500 |
---|---|---|
committer | Khem Raj <raj.khem@gmail.com> | 2023-08-05 09:29:56 -0700 |
commit | a8d959a7dad755bf62f49f3aeb42b83e50c356c6 (patch) | |
tree | be4d3260935b150c67817061e074d1fbc09bb230 /meta-networking | |
parent | 16e1555f6cd40255ce06680e2f7ba7a2dfce959b (diff) | |
download | meta-openembedded-a8d959a7dad755bf62f49f3aeb42b83e50c356c6.tar.gz |
radvd: Fix groupname gid change warning
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:
radvd: Changing groupname nogroup's gid from (WXYZ) to (JKLM), verify configuration files!
Signed-off-by: JD Schroeder <sweng5080@gmail.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Diffstat (limited to 'meta-networking')
-rw-r--r-- | meta-networking/recipes-daemons/radvd/radvd_2.19.bb | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/meta-networking/recipes-daemons/radvd/radvd_2.19.bb b/meta-networking/recipes-daemons/radvd/radvd_2.19.bb index f9f810abdd..36c921a167 100644 --- a/meta-networking/recipes-daemons/radvd/radvd_2.19.bb +++ b/meta-networking/recipes-daemons/radvd/radvd_2.19.bb | |||
@@ -61,6 +61,7 @@ do_install:append () { | |||
61 | } | 61 | } |
62 | 62 | ||
63 | USERADD_PACKAGES = "${PN}" | 63 | USERADD_PACKAGES = "${PN}" |
64 | GROUPADD_PARAM:${PN} = "--system nogroup" | ||
64 | USERADD_PARAM:${PN} = "--system --home ${localstatedir}/run/radvd/ -M -g nogroup radvd" | 65 | USERADD_PARAM:${PN} = "--system --home ${localstatedir}/run/radvd/ -M -g nogroup radvd" |
65 | 66 | ||
66 | pkg_postinst:${PN} () { | 67 | pkg_postinst:${PN} () { |