Return-Path: Received: by yocto-www.yoctoproject.org (Postfix, from userid 118) id C1422E00961; Mon, 9 Jan 2017 07:04:45 -0800 (PST) X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on yocto-www.yoctoproject.org X-Spam-Level: X-Spam-Status: No, score=-4.2 required=5.0 tests=BAYES_00,RCVD_IN_DNSWL_MED autolearn=ham version=3.3.1 X-Spam-HAM-Report: * -2.3 RCVD_IN_DNSWL_MED RBL: Sender listed at http://www.dnswl.org/, * medium trust * [147.11.146.13 listed in list.dnswl.org] * -1.9 BAYES_00 BODY: Bayes spam probability is 0 to 1% * [score: 0.0000] Received: from mail1.windriver.com (mail1.windriver.com [147.11.146.13]) by yocto-www.yoctoproject.org (Postfix) with ESMTP id 2989AE00947 for ; Mon, 9 Jan 2017 07:04:43 -0800 (PST) Received: from ALA-HCA.corp.ad.wrs.com (ala-hca.corp.ad.wrs.com [147.11.189.40]) by mail1.windriver.com (8.15.2/8.15.1) with ESMTPS id v09F4hLG017416 (version=TLSv1 cipher=AES128-SHA bits=128 verify=FAIL) for ; Mon, 9 Jan 2017 07:04:43 -0800 (PST) Received: from yow-dellw-ma.wrs.com (128.224.56.18) by ALA-HCA.corp.ad.wrs.com (147.11.189.50) with Microsoft SMTP Server id 14.3.294.0; Mon, 9 Jan 2017 07:04:42 -0800 From: Mark Asselstine To: Date: Mon, 9 Jan 2017 10:04:37 -0500 Message-ID: <1483974277-17378-1-git-send-email-mark.asselstine@windriver.com> X-Mailer: git-send-email 2.7.4 MIME-Version: 1.0 Cc: meta-virtualization@yoctoproject.org Subject: [mcs][PATCH] python-horizon: cleanup QA warnings X-BeenThere: meta-virtualization@yoctoproject.org X-Mailman-Version: 2.1.13 Precedence: list List-Id: "Discussion of layer enabling hypervisor, virtualization tool stack, and cloud support" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 09 Jan 2017 15:04:45 -0000 Content-Type: text/plain 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 --- 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