[meta-freescale] [meta-fsl-arm][PATCH v2] imx-gpu-viv: correct file ownership
Sujith Haridasan
sujith.h at gmail.com
Thu Apr 21 07:56:23 PDT 2016
From: Sujith H <sujith.h at gmail.com>
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 at gmail.com>
Signed-off-by: Christopher Larson <chris_larson at mentor.com>
Signed-off-by: Sujith Haridasan <Sujith_Haridasan at mentor.com>
---
recipes-graphics/imx-gpu-viv/imx-gpu-viv.inc | 2 ++
1 file changed, 2 insertions(+)
diff --git a/recipes-graphics/imx-gpu-viv/imx-gpu-viv.inc b/recipes-graphics/imx-gpu-viv/imx-gpu-viv.inc
index ce00724..f604a37 100644
--- a/recipes-graphics/imx-gpu-viv/imx-gpu-viv.inc
+++ b/recipes-graphics/imx-gpu-viv/imx-gpu-viv.inc
@@ -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"
--
1.9.1
More information about the meta-freescale
mailing list