qt5-base: fix file ownership of fonts
authorJonathan Liu <net147@gmail.com>
Tue, 10 Mar 2015 01:01:28 +0000 (12:01 +1100)
committerMauro Carvalho Chehab <mchehab@osg.samsung.com>
Fri, 24 Jul 2015 16:42:14 +0000 (13:42 -0300)
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 <net147@gmail.com>
Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
Signed-off-by: Mauro Carvalho Chehab <mchehab@osg.samsung.com>
meta-qt5/recipes-qt/qt5/qtbase.inc

index d7c027f..93edb53 100644 (file)
@@ -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