nostromo needs user/group defined
cover nostromo needs user/group defined
Included nostromo in a qemux86-64 system, booted and connected to nhttpd via host browser to verify at least minimal functionality.
Also checked that nhttpd is running as user www-data.
Joe Slater (1):
nostromo: make sure usr/group www-data exist
recipes-httpd/nostromo/nostromo_1.9.5.bb | 7 ++++++- 1 files changed, 6 insertions(+), 1 deletions(-)
Signature · 1 line
1.7.3.4
PATCH 1/1 nostromo: make sure usr/group www-data exist
CQID: 422203
nostromo runs as user/group www-data and needs these to exist when we install it.
--- recipes-httpd/nostromo/nostromo_1.9.5.bb | 7 ++++++- 1 files changed, 6 insertions(+), 1 deletions(-)
recipes-httpd/nostromo/nostromo_1.9.5.bb +6 -1
@@ -17,7 +17,7 @@ TARGET_CC_ARCH += "${LDFLAGS}" DEPENDS = "openssl" -inherit update-rc.d +inherit update-rc.d useradd INITSCRIPT_NAME = "nostromo" INITSCRIPT_PARAMS = "defaults 70"
@@ -26,6 +26,11 @@ 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
Signature · 1 line
1.7.3.4
Re: [meta-webserver][PATCH 1/1] nostromo: make sure usr/group www-data exist
Hi Joe,
Quoted 25 lines · On Friday 09 August 2013 10:31:20 Joe Slater wrote:
CQID: 422203
nostromo runs as user/group www-data and needs these to exist when we install it.
Signed-off-by Joe Slater <[email protected]>--- recipes-httpd/nostromo/nostromo_1.9.5.bb | 7 ++++++- 1 files changed, 6 insertions(+), 1 deletions(-)(quoted diff) +0
-0b/recipes-httpd/nostromo/nostromo_1.9.5.bb index 94c32d8..98195b1 100644
recipes-httpd/nostromo/nostromo_1.9.5.bb +1
-1@@ -17,7 +17,7 @@ TARGET_CC_ARCH += "${LDFLAGS}" DEPENDS = "openssl" -inherit update-rc.d +inherit update-rc.d useradd INITSCRIPT_NAME = "nostromo" INITSCRIPT_PARAMS = "defaults 70"@@ -26,6 +26,11 @@ do_compile() { oe_runmake
recipes-httpd/nostromo/nostromo_1.9.5.bb do_compile() { · line 36
Quoted 10 lines
recipes-httpd/nostromo/nostromo_1.9.5.bb +5
-0} +# 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
I've applied this, but it was actually against the wrong directory path. In future could you please send patches generated against meta-oe?
Thanks,
Paul
Signature · 2 lines
Paul Eggleton Intel Open Source Technology Centre