Skip to contentSkip to conversation

imx-gpu-viv: correct file ownership

PATCH New Sujith Haridasan 1 participant 1 message Apr 21, 2016 Arm i.MX and Layerscape

lore
Share & tools
lore
#0 lore raw

PATCH v2 1/1 imx-gpu-viv: correct file ownership

From: Sujith H <[email protected]>

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.

---
 recipes-graphics/imx-gpu-viv/imx-gpu-viv.inc | 2 ++
 1 file changed, 2 insertions(+)
recipes-graphics/imx-gpu-viv/imx-gpu-viv.inc +2 -0
index ce00724..f604a37 100644
@@ -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"
Signature · 1 line
1.9.1