Sorry, please hold on the two patches, base-passwd does provide
www-data, I should not meet this orror in theory.

// Robert

On 06/07/2016 04:21 PM, Robert Yang wrote:
Fixed:
Running useradd commands...
useradd: group 'www-data' does not exist

Signed-off-by: Robert Yang <liezhi.y...@windriver.com>
---
  meta-webserver/recipes-httpd/nginx/nginx.inc | 1 +
  1 file changed, 1 insertion(+)

diff --git a/meta-webserver/recipes-httpd/nginx/nginx.inc 
b/meta-webserver/recipes-httpd/nginx/nginx.inc
index ebf926a..946db12 100644
--- a/meta-webserver/recipes-httpd/nginx/nginx.inc
+++ b/meta-webserver/recipes-httpd/nginx/nginx.inc
@@ -130,6 +130,7 @@ INITSCRIPT_NAME = "nginx"
  INITSCRIPT_PARAMS = "defaults 92 20"

  USERADD_PACKAGES = "${PN}"
+GROUPADD_PARAM_${PN} = "--system www-data"
  USERADD_PARAM_${PN} = " \
      --system --no-create-home \
      --home ${NGINX_WWWDIR} \

--
_______________________________________________
Openembedded-devel mailing list
Openembedded-devel@lists.openembedded.org
http://lists.openembedded.org/mailman/listinfo/openembedded-devel

Reply via email to