From 9bc540eec9a7e280af13371ea70650fcc47ea627 Mon Sep 17 00:00:00 2001 From: Javier Viguera Date: Tue, 4 Nov 2014 16:12:10 +0100 Subject: 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 Signed-off-by: Otavio Salvador --- recipes-graphics/gpu-viv-g2d/gpu-viv-g2d.inc | 4 ++-- 1 file 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 {} \; -- cgit v1.2.3-54-g00ecf