summaryrefslogtreecommitdiffstats
path: root/meta-webserver/recipes-httpd/nostromo/nostromo_1.9.5.bb
diff options
context:
space:
mode:
Diffstat (limited to 'meta-webserver/recipes-httpd/nostromo/nostromo_1.9.5.bb')
-rw-r--r--meta-webserver/recipes-httpd/nostromo/nostromo_1.9.5.bb7
1 files changed, 6 insertions, 1 deletions
diff --git a/meta-webserver/recipes-httpd/nostromo/nostromo_1.9.5.bb b/meta-webserver/recipes-httpd/nostromo/nostromo_1.9.5.bb
index e34fba260..3aaa5c2d4 100644
--- a/meta-webserver/recipes-httpd/nostromo/nostromo_1.9.5.bb
+++ b/meta-webserver/recipes-httpd/nostromo/nostromo_1.9.5.bb
@@ -18,7 +18,7 @@ TARGET_CC_ARCH += "${LDFLAGS}"
18 18
19DEPENDS = "openssl" 19DEPENDS = "openssl"
20 20
21inherit update-rc.d 21inherit update-rc.d useradd
22 22
23INITSCRIPT_NAME = "nostromo" 23INITSCRIPT_NAME = "nostromo"
24INITSCRIPT_PARAMS = "defaults 70" 24INITSCRIPT_PARAMS = "defaults 70"
@@ -27,6 +27,11 @@ do_compile() {
27 oe_runmake 27 oe_runmake
28} 28}
29 29
30# we need user/group www-data to exist when we install
31#
32USERADD_PACKAGES = "${PN}"
33USERADD_PARAM_${PN} = "--system -g www-data www-data"
34
30do_install() { 35do_install() {
31 install -d ${D}/${sbindir} 36 install -d ${D}/${sbindir}
32 install -m 0755 src/nhttpd/nhttpd ${D}/${sbindir}/nhttpd 37 install -m 0755 src/nhttpd/nhttpd ${D}/${sbindir}/nhttpd