* [mcs][PATCH] python-horizon: cleanup QA warnings
@ 2017-01-09 15:04 Mark Asselstine
2017-01-09 17:24 ` Bruce Ashfield
0 siblings, 1 reply; 2+ messages in thread
From: Mark Asselstine @ 2017-01-09 15:04 UTC (permalink / raw)
To: bruce.ashfield; +Cc: meta-virtualization
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.
Signed-off-by: Mark Asselstine <mark.asselstine@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 \
--
2.7.4
^ permalink raw reply related [flat|nested] 2+ messages in thread
* Re: [mcs][PATCH] python-horizon: cleanup QA warnings
2017-01-09 15:04 [mcs][PATCH] python-horizon: cleanup QA warnings Mark Asselstine
@ 2017-01-09 17:24 ` Bruce Ashfield
0 siblings, 0 replies; 2+ messages in thread
From: Bruce Ashfield @ 2017-01-09 17:24 UTC (permalink / raw)
To: Mark Asselstine; +Cc: meta-virtualization
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@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 \
>
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2017-01-09 17:24 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2017-01-09 15:04 [mcs][PATCH] python-horizon: cleanup QA warnings Mark Asselstine
2017-01-09 17:24 ` Bruce Ashfield
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.