Openembedded Core Discussions
 help / color / mirror / Atom feed
From: Valentin Popa <valentin.popa@intel.com>
To: openembedded-core@lists.openembedded.org
Subject: [PATCH] piglit: ship files with correct permissions
Date: Tue, 25 Mar 2014 14:06:08 +0200	[thread overview]
Message-ID: <1395749168-16746-1-git-send-email-valentin.popa@intel.com> (raw)

Adress the warning
| warning: group pulse does not exist - using root

Piglit files from framework/ generated_tests/ tests/
and templates/ belong to xuser/pulse.
Don't keep the permissions while shipping the files,
they should be root/root.

[YOCTO #6028]

Signed-off-by: Valentin Popa <valentin.popa@intel.com>
---
 meta/recipes-graphics/piglit/piglit_git.bb | 10 +++++-----
 1 file changed, 5 insertions(+), 5 deletions(-)

diff --git a/meta/recipes-graphics/piglit/piglit_git.bb b/meta/recipes-graphics/piglit/piglit_git.bb
index 8616764..7417cd5 100644
--- a/meta/recipes-graphics/piglit/piglit_git.bb
+++ b/meta/recipes-graphics/piglit/piglit_git.bb
@@ -33,11 +33,11 @@ do_install() {
 	install -d ${D}${libdir}/piglit/bin
 	install -m 755 ${S}/bin/* ${D}${libdir}/piglit/bin
 
-	cp -a lib/ ${D}${libdir}/piglit/
-	cp -a framework/ ${D}${libdir}/piglit/
-	cp -a generated_tests/ ${D}${libdir}/piglit/
-	cp -a tests/ ${D}${libdir}/piglit/
-	cp -a templates/ ${D}${libdir}/piglit/
+	cp -Pr lib/ ${D}${libdir}/piglit/
+	cp -Pr framework/ ${D}${libdir}/piglit/
+	cp -Pr generated_tests/ ${D}${libdir}/piglit/
+	cp -Pr tests/ ${D}${libdir}/piglit/
+	cp -Pr templates/ ${D}${libdir}/piglit/
 
 	sed -i -e 's|sys.path.append(.*)|sys.path.append("${libdir}/piglit")|' ${D}${bindir}/piglit-*.py
 	sed -i -e 's|^templatedir = .*$|templatedir = "${libdir}/piglit/templates"|' ${D}${bindir}/piglit-summary-html.py
-- 
1.8.3.2



             reply	other threads:[~2014-03-25 12:06 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2014-03-25 12:06 Valentin Popa [this message]
2014-03-25 14:34 ` [PATCH] piglit: ship files with correct permissions Burton, Ross

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=1395749168-16746-1-git-send-email-valentin.popa@intel.com \
    --to=valentin.popa@intel.com \
    --cc=openembedded-core@lists.openembedded.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox