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

Martin Jansa martin.jansa at gmail.com
Thu Oct 15 19:48:58 UTC 2015


On Thu, Oct 15, 2015 at 08:21:27PM +0200, Anders Darander wrote:
> Two files in /usr/lib, were own by the uid of the build process.
> 
> Signed-off-by: Anders Darander <anders at chargestorm.se>
> ---
>  recipes-qt/qt5/qtbase_git.bb | 2 ++
>  1 file changed, 2 insertions(+)
> 
> diff --git a/recipes-qt/qt5/qtbase_git.bb b/recipes-qt/qt5/qtbase_git.bb
> index 39d02a9..99ac208 100644
> --- a/recipes-qt/qt5/qtbase_git.bb
> +++ b/recipes-qt/qt5/qtbase_git.bb
> @@ -232,6 +232,8 @@ do_install_append() {
>          chown -R root:root ${D}/${OE_QMAKE_PATH_QT_FONTS}
>      fi
>      cp -a ${B}/lib/libqt* ${D}${libdir}

Can we use install instead of cp to resolve this issue instead of chmod?

> +    chown root:root ${D}${libdir}/libqtpcre.prl
> +    chown root:root ${D}${libdir}/libqtpcre.a
>      # 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 at lists.openembedded.org
> http://lists.openembedded.org/mailman/listinfo/openembedded-devel

-- 
Martin 'JaMa' Jansa     jabber: Martin.Jansa at gmail.com
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 181 bytes
Desc: Digital signature
URL: <http://lists.openembedded.org/pipermail/openembedded-devel/attachments/20151015/b9df8aa2/attachment-0002.sig>


More information about the Openembedded-devel mailing list