Skip to contentSkip to conversation

qt5-base: fix file ownership of fonts

PATCH New Jonathan Liu 1 participant 1 message Mar 10, 2015

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 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.

---
 recipes-qt/qt5/qtbase.inc | 1 +
 1 file changed, 1 insertion(+)
recipes-qt/qt5/qtbase.inc +1 -0
index d7c027f..93edb53 100644
@@ -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
Signature · 1 line
2.3.1