summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJD Schroeder <sweng5080@gmail.com>2023-08-03 12:51:27 -0500
committerKhem Raj <raj.khem@gmail.com>2023-08-05 09:29:56 -0700
commitd572afcd08f3bedc4cf6fc9ac6e52e4f0797ccd0 (patch)
treecf5158018a494183112e4ec849f79dc642adfd6a
parenta8d959a7dad755bf62f49f3aeb42b83e50c356c6 (diff)
downloadmeta-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.bb1
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
76USERADD_PACKAGES = "${PN}-bin" 76USERADD_PACKAGES = "${PN}-bin"
77GROUPADD_PARAM:${PN}-bin = "--system mail"
77USERADD_PARAM:${PN}-bin = "--system --home=/var/spool/mail -g mail cyrus" 78USERADD_PARAM:${PN}-bin = "--system --home=/var/spool/mail -g mail cyrus"
78 79
79SYSTEMD_PACKAGES = "${PN}-bin" 80SYSTEMD_PACKAGES = "${PN}-bin"