[oe] [meta-qt5][PATCH] qt5-base: fix file ownership of fonts
Jonathan Liu
net147 at gmail.com
Tue Mar 10 01:01:28 UTC 2015
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 <net147 at gmail.com>
---
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 d7c027f..93edb53 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
--
2.3.1
More information about the Openembedded-devel
mailing list