[meta-virtualization] [mcs][PATCH] python-horizon: cleanup QA warnings

Bruce Ashfield bruce.ashfield at windriver.com
Mon Jan 9 09:24:50 PST 2017


On 2017-01-09 10:04 AM, Mark Asselstine wrote:
> Currently we are seeing warnings like:
>
>     .../horizon.scss is owned by gid 1001, which is the same as the
>     user running bitbake.
>
> These are caused by using 'cp -a' in this case, by excluding the
> 'ownership' part of -a we can avoid these QA issues.
>

merged.

Bruce

> Signed-off-by: Mark Asselstine <mark.asselstine at windriver.com>
> ---
>  meta-openstack/recipes-devtools/python/python-horizon_git.bb | 2 +-
>  1 file changed, 1 insertion(+), 1 deletion(-)
>
> diff --git a/meta-openstack/recipes-devtools/python/python-horizon_git.bb b/meta-openstack/recipes-devtools/python/python-horizon_git.bb
> index 5a23930..d2cb345 100644
> --- a/meta-openstack/recipes-devtools/python/python-horizon_git.bb
> +++ b/meta-openstack/recipes-devtools/python/python-horizon_git.bb
> @@ -124,7 +124,7 @@ do_install_append() {
>
>      # the following are setup required for horizon-apache
>      install -d ${DASHBOARD_SHARE_DIR}
> -    cp -a ${S}/openstack_dashboard  ${DASHBOARD_SHARE_DIR}
> +    cp -a --no-preserve=ownership ${S}/openstack_dashboard  ${DASHBOARD_SHARE_DIR}
>      cp ${S}/manage.py  ${DASHBOARD_SHARE_DIR}
>
>      install -D -m 644 ${WORKDIR}/local_settings.py \
>



More information about the meta-virtualization mailing list