Re: [oe] [meta-qt5][PATCH v2] qtbase: fix QA warning of host uid leakage

2015-10-19 Thread Anders Darander
* Anders Darander  [151019 08:17]:

>  fi
> -cp -a ${B}/lib/libqt* ${D}${libdir}
> +install -m 0644 ${B}/lib/libqt* ${D}${libdir}

V2 changes cp directly to install, instead of running chown. (As was
done in V1).

Cheers,
Anders

>  # Remove example.pro file as it is useless
>  rm -f ${D}${OE_QMAKE_PATH_EXAMPLES}/examples.pro
-- 
Anders Darander
ChargeStorm AB / eStorm AB
-- 
___
Openembedded-devel mailing list
Openembedded-devel@lists.openembedded.org
http://lists.openembedded.org/mailman/listinfo/openembedded-devel


[oe] [meta-qt5][PATCH v2] qtbase: fix QA warning of host uid leakage

2015-10-19 Thread Anders Darander
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 
---
 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

-- 
___
Openembedded-devel mailing list
Openembedded-devel@lists.openembedded.org
http://lists.openembedded.org/mailman/listinfo/openembedded-devel