[oe] [meta-qt5][PATCH v2] qtbase: fix QA warning of host uid leakage
Anders Darander
anders at chargestorm.se
Mon Oct 19 06:17:05 UTC 2015
By using cp, the wrong uid ended up in the package. Use install,
as that will automatically handle the uid and gid.
Signed-off-by: Anders Darander <anders at chargestorm.se>
---
recipes-qt/qt5/qtbase_git.bb | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/recipes-qt/qt5/qtbase_git.bb b/recipes-qt/qt5/qtbase_git.bb
index 39d02a9..7641b63 100644
--- a/recipes-qt/qt5/qtbase_git.bb
+++ b/recipes-qt/qt5/qtbase_git.bb
@@ -231,7 +231,7 @@ do_install_append() {
cp -a ${S}/lib/fonts/* ${D}/${OE_QMAKE_PATH_QT_FONTS}
chown -R root:root ${D}/${OE_QMAKE_PATH_QT_FONTS}
fi
- cp -a ${B}/lib/libqt* ${D}${libdir}
+ install -m 0644 ${B}/lib/libqt* ${D}${libdir}
# Remove example.pro file as it is useless
rm -f ${D}${OE_QMAKE_PATH_EXAMPLES}/examples.pro
--
2.6.1
More information about the Openembedded-devel
mailing list