[oe] [PATCH 2/2] nostromo: add group www-data
Robert Yang
liezhi.yang at windriver.com
Tue Jun 7 08:21:40 UTC 2016
Fixed:
Running useradd commands...
useradd: group 'www-data' does not exist
Signed-off-by: Robert Yang <liezhi.yang at windriver.com>
---
meta-webserver/recipes-httpd/nostromo/nostromo_1.9.5.bb | 1 +
1 file changed, 1 insertion(+)
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 562ecd0..c6593e1 100644
--- a/meta-webserver/recipes-httpd/nostromo/nostromo_1.9.5.bb
+++ b/meta-webserver/recipes-httpd/nostromo/nostromo_1.9.5.bb
@@ -30,6 +30,7 @@ do_compile() {
# we need user/group www-data to exist when we install
#
USERADD_PACKAGES = "${PN}"
+GROUPADD_PARAM_${PN} = "--system www-data"
USERADD_PARAM_${PN} = "--system -g www-data www-data"
do_install() {
--
2.7.4
More information about the Openembedded-devel
mailing list