From: Javier Viguera Date: Tue, 4 Nov 2014 15:12:10 +0000 (+0100) Subject: gpu-viv-g2d: fix file ownership in packages X-Git-Tag: 2.1~821 X-Git-Url: https://code.ossystems.io/gitweb?a=commitdiff_plain;h=53581fefb6027da2ca1e5e167e791ad21438af5d;p=meta-freescale.git 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 --- diff --git a/meta-fsl-arm/recipes-graphics/gpu-viv-g2d/gpu-viv-g2d.inc b/meta-fsl-arm/recipes-graphics/gpu-viv-g2d/gpu-viv-g2d.inc index ce0c74fc..3f0bdd06 100644 --- a/meta-fsl-arm/recipes-graphics/gpu-viv-g2d/gpu-viv-g2d.inc +++ b/meta-fsl-arm/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 {} \;