[oe-commits] [meta-openembedded] 17/39: atftp: do not create user nobody
git at git.openembedded.org
git at git.openembedded.org
Fri Jul 22 20:07:21 UTC 2016
martin_jansa pushed a commit to branch master-next
in repository meta-openembedded.
commit eeadbd892bafb7b6f6accfbf85fe6803ada6f8e5
Author: Joe Slater <jslater at windriver.com>
AuthorDate: Tue Jul 12 14:55:41 2016 -0700
atftp: do not create user nobody
The recipe for atftp inherits useradd.bbclass and
re-creates the user nobody as a "system" user. This
is not correct and is in vain because this new definition
will not be created on the target.
Signed-off-by: Joe Slater <jslater at windriver.com>
Signed-off-by: Martin Jansa <Martin.Jansa at gmail.com>
---
meta-networking/recipes-daemons/atftp/atftp_git.bb | 5 +----
1 file changed, 1 insertion(+), 4 deletions(-)
diff --git a/meta-networking/recipes-daemons/atftp/atftp_git.bb b/meta-networking/recipes-daemons/atftp/atftp_git.bb
index 0ece58f..0556fe2 100644
--- a/meta-networking/recipes-daemons/atftp/atftp_git.bb
+++ b/meta-networking/recipes-daemons/atftp/atftp_git.bb
@@ -17,7 +17,7 @@ SRC_URI = "git://git.code.sf.net/p/atftp/code \
"
S = "${WORKDIR}/git"
-inherit autotools update-rc.d useradd systemd
+inherit autotools update-rc.d systemd
PACKAGECONFIG ??= "tcp-wrappers"
PACKAGECONFIG[pcre] = "--enable-libpcre,--disable-libpcre,libpcre"
@@ -28,9 +28,6 @@ INITSCRIPT_PACKAGES = "${PN}d"
INITSCRIPT_NAME_${PN}d = "atftpd"
INITSCRIPT_PARAMS_${PN}d = "defaults 80"
-USERADD_PACKAGES = "${PN}d"
-USERADD_PARAM_${PN}d = "--system --no-create-home --shell /bin/false \
- --user-group nobody"
EXTRA_OEMAKE = "CFLAGS='${CFLAGS} -std=gnu89'"
--
To stop receiving notification emails like this one, please contact
the administrator of this repository.
More information about the Openembedded-commits
mailing list