]> code.ossystems Code Review - meta-freescale.git/commitdiff
gpu-viv-g2d: fix file ownership in packages
authorJavier Viguera <javier.viguera@digi.com>
Tue, 4 Nov 2014 15:12:10 +0000 (16:12 +0100)
committerOtavio Salvador <otavio@ossystems.com.br>
Wed, 5 Nov 2014 12:45:22 +0000 (10:45 -0200)
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>
meta-fsl-arm/recipes-graphics/gpu-viv-g2d/gpu-viv-g2d.inc

index ce0c74fc21e092d38cb532afa9eb187c3d967919..3f0bdd068d72b638475f8abf8de51e2eff404293 100644 (file)
@@ -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 {} \;