summaryrefslogtreecommitdiffstats
path: root/meta-networking/recipes-daemons
diff options
context:
space:
mode:
authorJoe Slater <jslater@windriver.com>2016-07-12 14:55:41 -0700
committerJoe MacDonald <joe_macdonald@mentor.com>2016-08-05 09:06:49 -0400
commit53794a7c57c338e8474a9c90d804723e3a3cb0d4 (patch)
treeaa4228981609584cc7729fd757ed7bbc63b9d566 /meta-networking/recipes-daemons
parent7e4f22517ada29f634970721481f0a7de1f3bffd (diff)
downloadmeta-openembedded-53794a7c57c338e8474a9c90d804723e3a3cb0d4.tar.gz
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@windriver.com> Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com> Signed-off-by: Joe MacDonald <joe_macdonald@mentor.com>
Diffstat (limited to 'meta-networking/recipes-daemons')
-rw-r--r--meta-networking/recipes-daemons/atftp/atftp_git.bb5
1 files changed, 1 insertions, 4 deletions
diff --git a/meta-networking/recipes-daemons/atftp/atftp_git.bb b/meta-networking/recipes-daemons/atftp/atftp_git.bb
index 0ece58f7d..0556fe2a0 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 \
17" 17"
18S = "${WORKDIR}/git" 18S = "${WORKDIR}/git"
19 19
20inherit autotools update-rc.d useradd systemd 20inherit autotools update-rc.d systemd
21 21
22PACKAGECONFIG ??= "tcp-wrappers" 22PACKAGECONFIG ??= "tcp-wrappers"
23PACKAGECONFIG[pcre] = "--enable-libpcre,--disable-libpcre,libpcre" 23PACKAGECONFIG[pcre] = "--enable-libpcre,--disable-libpcre,libpcre"
@@ -28,9 +28,6 @@ INITSCRIPT_PACKAGES = "${PN}d"
28INITSCRIPT_NAME_${PN}d = "atftpd" 28INITSCRIPT_NAME_${PN}d = "atftpd"
29INITSCRIPT_PARAMS_${PN}d = "defaults 80" 29INITSCRIPT_PARAMS_${PN}d = "defaults 80"
30 30
31USERADD_PACKAGES = "${PN}d"
32USERADD_PARAM_${PN}d = "--system --no-create-home --shell /bin/false \
33 --user-group nobody"
34 31
35EXTRA_OEMAKE = "CFLAGS='${CFLAGS} -std=gnu89'" 32EXTRA_OEMAKE = "CFLAGS='${CFLAGS} -std=gnu89'"
36 33