[oe] [PATCH 1/2] nginx: add group www-data

Robert Yang liezhi.yang at windriver.com
Sun Jun 12 09:57:50 UTC 2016


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.yang at 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} \
>



More information about the Openembedded-devel mailing list