From 376de5ee0ecd5d98659a48fa518f6f862a38b47e Mon Sep 17 00:00:00 2001 From: Sujith H Date: Thu, 21 Apr 2016 20:26:23 +0530 Subject: [PATCH] imx-gpu-viv: correct file ownership 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 Signed-off-by: Christopher Larson Signed-off-by: Sujith Haridasan Signed-off-by: Otavio Salvador --- 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 ce00724b..f604a374 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" -- 2.40.1