python-horizon: cleanup QA warnings
PATCH 1/1 python-horizon: cleanup QA warnings
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 <[email protected]>
--- meta-openstack/recipes-devtools/python/python-horizon_git.bb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
meta-openstack/recipes-devtools/python/python-horizon_git.bb +1 -1
@@ -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 \
Signature · 1 line
2.7.4
Quoted 8 lines · Mark Asselstine
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
Quoted 19 lines
Signed-off-by Mark Asselstine <[email protected]>--- meta-openstack/recipes-devtools/python/python-horizon_git.bb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)meta-openstack/recipes-devtools/python/python-horizon_git.bb +1
-1@@ -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 \