aboutsummaryrefslogtreecommitdiffstats
path: root/meta/recipes-graphics/piglit
diff options
context:
space:
mode:
authorValentin Popa <valentin.popa@intel.com>2014-03-25 14:06:08 +0200
committerRichard Purdie <richard.purdie@linuxfoundation.org>2014-03-25 13:44:30 +0000
commit226c47ff001a881c991c33674449a495132edd58 (patch)
tree5ffbf1183ede730aaf4717016d926c4b6aeb9f88 /meta/recipes-graphics/piglit
parent3bf1f39d918a428246df774c8d306bcfe40ddbdd (diff)
downloadopenembedded-core-contrib-226c47ff001a881c991c33674449a495132edd58.tar.gz
openembedded-core-contrib-226c47ff001a881c991c33674449a495132edd58.tar.bz2
openembedded-core-contrib-226c47ff001a881c991c33674449a495132edd58.zip
piglit: ship files with correct permissions
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> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta/recipes-graphics/piglit')
-rw-r--r--meta/recipes-graphics/piglit/piglit_git.bb10
1 files changed, 5 insertions, 5 deletions
diff --git a/meta/recipes-graphics/piglit/piglit_git.bb b/meta/recipes-graphics/piglit/piglit_git.bb
index 8616764fc5..7417cd5364 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