summaryrefslogtreecommitdiffstats
path: root/meta/recipes-graphics/piglit/piglit_git.bb
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 21:26:49 +0000
commit6549a43344cfb6e595e2491311e204319454bcdd (patch)
tree581deb600068fcf36a182e4bf7476dc087e685e6 /meta/recipes-graphics/piglit/piglit_git.bb
parent7881b304bcd7448e381c5727ddfd5f5fb954d326 (diff)
downloadpoky-6549a43344cfb6e595e2491311e204319454bcdd.tar.gz
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] (From OE-Core rev: 226c47ff001a881c991c33674449a495132edd58) 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/piglit_git.bb')
-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() {
33 install -d ${D}${libdir}/piglit/bin 33 install -d ${D}${libdir}/piglit/bin
34 install -m 755 ${S}/bin/* ${D}${libdir}/piglit/bin 34 install -m 755 ${S}/bin/* ${D}${libdir}/piglit/bin
35 35
36 cp -a lib/ ${D}${libdir}/piglit/ 36 cp -Pr lib/ ${D}${libdir}/piglit/
37 cp -a framework/ ${D}${libdir}/piglit/ 37 cp -Pr framework/ ${D}${libdir}/piglit/
38 cp -a generated_tests/ ${D}${libdir}/piglit/ 38 cp -Pr generated_tests/ ${D}${libdir}/piglit/
39 cp -a tests/ ${D}${libdir}/piglit/ 39 cp -Pr tests/ ${D}${libdir}/piglit/
40 cp -a templates/ ${D}${libdir}/piglit/ 40 cp -Pr templates/ ${D}${libdir}/piglit/
41 41
42 sed -i -e 's|sys.path.append(.*)|sys.path.append("${libdir}/piglit")|' ${D}${bindir}/piglit-*.py 42 sed -i -e 's|sys.path.append(.*)|sys.path.append("${libdir}/piglit")|' ${D}${bindir}/piglit-*.py
43 sed -i -e 's|^templatedir = .*$|templatedir = "${libdir}/piglit/templates"|' ${D}${bindir}/piglit-summary-html.py 43 sed -i -e 's|^templatedir = .*$|templatedir = "${libdir}/piglit/templates"|' ${D}${bindir}/piglit-summary-html.py