From: Jonathan Liu Date: Tue, 10 Mar 2015 01:01:28 +0000 (+1100) Subject: qt5-base: fix file ownership of fonts X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=e4dc72b1209f5137c8c0f8745828f32e3c6d20df;p=scm%2Fbb%2Ftizen-distro.git 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 --- 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