Message ID | 20230803174747.22211-1-sweng5080@gmail.com |
---|---|
State | Under Review |
Headers | show |
Series | [meta-networking] Fix groupname gid change warning | expand |
diff --git a/meta-networking/recipes-daemons/radvd/radvd_2.19.bb b/meta-networking/recipes-daemons/radvd/radvd_2.19.bb index f9f810abd..36c921a16 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 () { } USERADD_PACKAGES = "${PN}" +GROUPADD_PARAM:${PN} = "--system nogroup" USERADD_PARAM:${PN} = "--system --home ${localstatedir}/run/radvd/ -M -g nogroup radvd" pkg_postinst:${PN} () {
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> --- meta-networking/recipes-daemons/radvd/radvd_2.19.bb | 1 + 1 file changed, 1 insertion(+)