mirror of
https://github.com/openembedded/meta-openembedded.git
synced 2026-06-04 14:39:54 +00:00
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>
This commit is contained in:
committed by
Joe MacDonald
parent
7e4f22517a
commit
53794a7c57
@@ -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'"
|
||||
|
||||
|
||||
Reference in New Issue
Block a user