]> code.ossystems Code Review - meta-freescale.git/commitdiff
imx-gpu-viv: correct file ownership
authorSujith H <sujith.h@gmail.com>
Thu, 21 Apr 2016 14:56:23 +0000 (20:26 +0530)
committerOtavio Salvador <otavio@ossystems.com.br>
Sat, 7 May 2016 13:07:46 +0000 (10:07 -0300)
This recipe copies binary files with `cp`, including `cp -a`, so the file
ownership can end up being the same as the build user. Work around this by
chown'ing everything to root:root.

This avoids a package_qa failure.

Signed-off-by: Sujith H <sujith.h@gmail.com>
Signed-off-by: Christopher Larson <chris_larson@mentor.com>
Signed-off-by: Sujith Haridasan <Sujith_Haridasan@mentor.com>
Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
recipes-graphics/imx-gpu-viv/imx-gpu-viv.inc

index ce00724b13ed3fe3e55334d7554b8c1548887e63..f604a3747b4cdac54afa5c50793079720341ccc0 100644 (file)
@@ -209,6 +209,8 @@ do_install () {
 
     find ${D}${libdir} -type f -exec chmod 644 {} \;
     find ${D}${includedir} -type f -exec chmod 644 {} \;
+
+    chown -R root:root "${D}"
 }
 
 ALLOW_EMPTY_${PN} = "1"