[oe] [meta-networking][PATCH 2/3] proftpd: Convert proftpd group to system scope
Mark Hatle
mark.hatle at windriver.com
Tue Nov 19 21:50:37 UTC 2013
From: Qiang Chen <qiang.chen at windriver.com>
Proftpd is meant to be a system user, not a normal user of the
system so lets pass the correct parameters to the system.
Just add --system param when creating ftp group.
Signed-off-by: Qiang Chen <qiang.chen at windriver.com>
Signed-off-by: Jeff Polk <jeff.polk at windriver.com>
---
meta-networking/recipes-daemons/proftpd/proftpd_1.3.4b.bb | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/meta-networking/recipes-daemons/proftpd/proftpd_1.3.4b.bb b/meta-networking/recipes-daemons/proftpd/proftpd_1.3.4b.bb
index 6571b9c..29c3097 100644
--- a/meta-networking/recipes-daemons/proftpd/proftpd_1.3.4b.bb
+++ b/meta-networking/recipes-daemons/proftpd/proftpd_1.3.4b.bb
@@ -60,7 +60,7 @@ INITSCRIPT_NAME = "proftpd"
INITSCRIPT_PARAM = "defaults 85 15"
USERADD_PACKAGES = "${PN}"
-GROUPADD_PARAM_${PN} = "${FTPGROUP}"
+GROUPADD_PARAM_${PN} = "--system ${FTPGROUP}"
USERADD_PARAM_${PN} = "--system -g ${FTPGROUP} ${FTPUSER}"
FILES_${PN} += "/home/${FTPUSER}"
--
1.8.1.2.545.g2f19ada
More information about the Openembedded-devel
mailing list