From 5d9286ab811d6382b7f4c48aff6079ed580218d4 Mon Sep 17 00:00:00 2001 From: Jonathan Liu Date: Tue, 10 Mar 2015 12:01:28 +1100 Subject: 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. Signed-off-by: Jonathan Liu Signed-off-by: Martin Jansa --- recipes-qt/qt5/qtbase.inc | 1 + 1 file changed, 1 insertion(+) diff --git a/recipes-qt/qt5/qtbase.inc b/recipes-qt/qt5/qtbase.inc index d7c027fb..93edb531 100644 --- a/recipes-qt/qt5/qtbase.inc +++ b/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 -- cgit v1.2.3-54-g00ecf