aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJavier Viguera <javier.viguera@digi.com>2014-11-04 16:12:10 +0100
committerOtavio Salvador <otavio@ossystems.com.br>2014-11-05 10:46:34 -0200
commit9bc540eec9a7e280af13371ea70650fcc47ea627 (patch)
tree58bf56565677ac61e1eee5d5c46c4d2dbcbe8521
parentdb7365b86434240ed2a2712f98631b2b3e257094 (diff)
downloadmeta-fsl-arm-9bc540eec9a7e280af13371ea70650fcc47ea627.tar.gz
meta-fsl-arm-9bc540eec9a7e280af13371ea70650fcc47ea627.tar.bz2
meta-fsl-arm-9bc540eec9a7e280af13371ea70650fcc47ea627.zip
gpu-viv-g2d: fix file ownership in packages
Using 'cp -a' to install files in do_install function leaks user/group attributes from build machine to target packages. WARNING: log_check: There is a warn message in the logfile WARNING: log_check: Matched keyword: [warn] WARNING: log_check: warning: user xxxxx does not exist - using root Signed-off-by: Javier Viguera <javier.viguera@digi.com> Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
-rw-r--r--recipes-graphics/gpu-viv-g2d/gpu-viv-g2d.inc4
1 files changed, 2 insertions, 2 deletions
diff --git a/recipes-graphics/gpu-viv-g2d/gpu-viv-g2d.inc b/recipes-graphics/gpu-viv-g2d/gpu-viv-g2d.inc
index ce0c74f..3f0bdd0 100644
--- a/recipes-graphics/gpu-viv-g2d/gpu-viv-g2d.inc
+++ b/recipes-graphics/gpu-viv-g2d/gpu-viv-g2d.inc
@@ -26,8 +26,8 @@ do_install () {
install -d ${D}${includedir}
cp ${S}/usr/lib/*.so ${D}${libdir}
- cp -axr ${S}/usr/include/* ${D}${includedir}
- cp -axr ${S}/opt ${D}
+ cp -Pr ${S}/usr/include/* ${D}${includedir}
+ cp -Pr ${S}/opt ${D}
find ${D}${libdir} -type f -exec chmod 644 {} \;
find ${D}${includedir} -type f -exec chmod 644 {} \;