From f432ddee16a33136a107ddbc70e1d36a18d7990a Mon Sep 17 00:00:00 2001 From: Anders Darander Date: Mon, 19 Oct 2015 08:17:05 +0200 Subject: 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 Signed-off-by: Martin Jansa --- 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 4cffccf7..ecaccd33 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 -- cgit v1.2.3