diff options
author | JD Schroeder <sweng5080@gmail.com> | 2023-08-03 12:51:27 -0500 |
---|---|---|
committer | Khem Raj <raj.khem@gmail.com> | 2023-08-05 09:29:56 -0700 |
commit | d572afcd08f3bedc4cf6fc9ac6e52e4f0797ccd0 (patch) | |
tree | cf5158018a494183112e4ec849f79dc642adfd6a | |
parent | a8d959a7dad755bf62f49f3aeb42b83e50c356c6 (diff) | |
download | meta-openembedded-d572afcd08f3bedc4cf6fc9ac6e52e4f0797ccd0.tar.gz |
cyrus-sasl: 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:
cyrus-sasl: Changing groupname mail'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>
-rw-r--r-- | meta-oe/recipes-networking/cyrus-sasl/cyrus-sasl_2.1.28.bb | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/meta-oe/recipes-networking/cyrus-sasl/cyrus-sasl_2.1.28.bb b/meta-oe/recipes-networking/cyrus-sasl/cyrus-sasl_2.1.28.bb index 11b53e7b61..d85ef20577 100644 --- a/meta-oe/recipes-networking/cyrus-sasl/cyrus-sasl_2.1.28.bb +++ b/meta-oe/recipes-networking/cyrus-sasl/cyrus-sasl_2.1.28.bb | |||
@@ -74,6 +74,7 @@ do_install:append() { | |||
74 | } | 74 | } |
75 | 75 | ||
76 | USERADD_PACKAGES = "${PN}-bin" | 76 | USERADD_PACKAGES = "${PN}-bin" |
77 | GROUPADD_PARAM:${PN}-bin = "--system mail" | ||
77 | USERADD_PARAM:${PN}-bin = "--system --home=/var/spool/mail -g mail cyrus" | 78 | USERADD_PARAM:${PN}-bin = "--system --home=/var/spool/mail -g mail cyrus" |
78 | 79 | ||
79 | SYSTEMD_PACKAGES = "${PN}-bin" | 80 | SYSTEMD_PACKAGES = "${PN}-bin" |