mirror of
https://git.yoctoproject.org/poky
synced 2026-03-17 04:39:40 +01:00
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>
This commit is contained in:
committed by
Richard Purdie
parent
7881b304bc
commit
6549a43344
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user