[oe] [meta-webserver][PATCH 1/2] nostromo: remove useradd of a user already provided by base-passwd

Derek Straka derek at asterius.io
Fri Jul 29 14:25:07 UTC 2016


Signed-off-by: Derek Straka <derek at asterius.io>
---
 meta-webserver/recipes-httpd/nostromo/nostromo_1.9.6.bb | 7 +------
 1 file changed, 1 insertion(+), 6 deletions(-)

diff --git a/meta-webserver/recipes-httpd/nostromo/nostromo_1.9.6.bb b/meta-webserver/recipes-httpd/nostromo/nostromo_1.9.6.bb
index e06a696..7d660ce 100644
--- a/meta-webserver/recipes-httpd/nostromo/nostromo_1.9.6.bb
+++ b/meta-webserver/recipes-httpd/nostromo/nostromo_1.9.6.bb
@@ -18,7 +18,7 @@ TARGET_CC_ARCH += "${LDFLAGS}"
 
 DEPENDS = "openssl"
 
-inherit update-rc.d useradd
+inherit update-rc.d
 
 INITSCRIPT_NAME = "nostromo"
 INITSCRIPT_PARAMS = "defaults 70"
@@ -27,11 +27,6 @@ do_compile() {
     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() {
     install -d ${D}/${sbindir}
     install -m 0755 src/nhttpd/nhttpd ${D}/${sbindir}/nhttpd
-- 
1.9.1



More information about the Openembedded-devel mailing list