qtbase: fix QA warning of host uid leakage

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@chargestorm.se>
Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
This commit is contained in:
Anders Darander
2015-10-19 08:17:05 +02:00
committed by Martin Jansa
parent fe7850c411
commit f432ddee16

View File

@@ -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