[oe] [meta-qt5][jethro][PATCH] qtbase: Fix host user contamination

Ian Coolidge ian at boundarydevices.com
Thu Oct 29 23:06:33 UTC 2015


The copy must not use the host user when copying for packaging.
Error fixed:
,----
| WARNING: QA Issue: qtbase: /qtbase-dev/usr/lib/libqtfreetype.prl is owned by
| uid 1000, which is the same as the user running bitbake. This may be due to
| host contamination [host-user-contaminated]
`----

Signed-off-by: Ian Coolidge <ian at boundarydevices.com>
---
 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 4cffccf..19de7df 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}
+    cp -r ${B}/lib/libqt* ${D}${libdir}
     # Remove example.pro file as it is useless
     rm -f ${D}${OE_QMAKE_PATH_EXAMPLES}/examples.pro
 
-- 
1.9.1




More information about the Openembedded-devel mailing list