mirror of
https://github.com/openembedded/meta-openembedded.git
synced 2026-06-02 13:59:59 +00:00
nostromo: remove useradd of a user already provided by base-passwd
Signed-off-by: Derek Straka <derek@asterius.io> Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
This commit is contained in:
committed by
Martin Jansa
parent
da81d9ef8d
commit
aac86aa1b0
@@ -18,7 +18,7 @@ TARGET_CC_ARCH += "${LDFLAGS}"
|
|||||||
|
|
||||||
DEPENDS = "openssl"
|
DEPENDS = "openssl"
|
||||||
|
|
||||||
inherit update-rc.d useradd
|
inherit update-rc.d
|
||||||
|
|
||||||
INITSCRIPT_NAME = "nostromo"
|
INITSCRIPT_NAME = "nostromo"
|
||||||
INITSCRIPT_PARAMS = "defaults 70"
|
INITSCRIPT_PARAMS = "defaults 70"
|
||||||
@@ -27,11 +27,6 @@ do_compile() {
|
|||||||
oe_runmake
|
oe_runmake
|
||||||
}
|
}
|
||||||
|
|
||||||
# we need user/group www-data to exist when we install
|
|
||||||
#
|
|
||||||
USERADD_PACKAGES = "${PN}"
|
|
||||||
USERADD_PARAM_${PN} = "--system -g www-data www-data"
|
|
||||||
|
|
||||||
do_install() {
|
do_install() {
|
||||||
install -d ${D}/${sbindir}
|
install -d ${D}/${sbindir}
|
||||||
install -m 0755 src/nhttpd/nhttpd ${D}/${sbindir}/nhttpd
|
install -m 0755 src/nhttpd/nhttpd ${D}/${sbindir}/nhttpd
|
||||||
|
|||||||
Reference in New Issue
Block a user