From e4dc72b1209f5137c8c0f8745828f32e3c6d20df Mon Sep 17 00:00:00 2001 From: Jonathan Liu Date: Tue, 10 Mar 2015 12:01:28 +1100 Subject: [PATCH] qt5-base: fix file ownership of fonts The file ownership needs to be explicitly set otherwise it inherits the user and group id of the build user. (From meta-qt5 rev: 5d9286ab811d6382b7f4c48aff6079ed580218d4) Signed-off-by: Jonathan Liu Signed-off-by: Martin Jansa Signed-off-by: Mauro Carvalho Chehab --- meta-qt5/recipes-qt/qt5/qtbase.inc | 1 + 1 file changed, 1 insertion(+) diff --git a/meta-qt5/recipes-qt/qt5/qtbase.inc b/meta-qt5/recipes-qt/qt5/qtbase.inc index d7c027f..93edb53 100644 --- a/meta-qt5/recipes-qt/qt5/qtbase.inc +++ b/meta-qt5/recipes-qt/qt5/qtbase.inc @@ -215,6 +215,7 @@ do_install_append() { # install fonts manually if they are missing if [ ! -d ${D}/${OE_QMAKE_PATH_LIBS}/fonts ]; then cp -a ${S}/lib/fonts ${D}/${OE_QMAKE_PATH_LIBS} + chown -R root:root ${D}/${OE_QMAKE_PATH_LIBS}/fonts fi # Remove example.pro file as it is useless -- 2.7.4