[oe] [PATCHv2][meta-browser 2/2] recipes: Replace "mv" with "cp -R --no-dereference --preserve=mode, links"
Khem Raj
raj.khem at gmail.com
Fri Feb 26 19:20:04 UTC 2016
> On Feb 26, 2016, at 10:03 AM, Martin Jansa <martin.jansa at gmail.com> wrote:
>
> * Using "cp -a" leaks UID of user running the builds, causing
> many QA warnings.
> * See this thread for details:
> http://lists.openembedded.org/pipermail/openembedded-core/2015-November/112904.html
>
> Signed-off-by: Martin Jansa <Martin.Jansa at gmail.com>
> ---
> recipes-mozilla/firefox-addon/firefox-addon.inc | 2 +-
> 1 file changed, 1 insertion(+), 1 deletion(-)
>
> diff --git a/recipes-mozilla/firefox-addon/firefox-addon.inc b/recipes-mozilla/firefox-addon/firefox-addon.inc
> index a886201..88dd5aa 100644
> --- a/recipes-mozilla/firefox-addon/firefox-addon.inc
> +++ b/recipes-mozilla/firefox-addon/firefox-addon.inc
> @@ -30,7 +30,7 @@ do_install() {
> [ -z "$EXTENSION" ] && exit 1
>
> mkdir -p ${D}${libdir}/firefox/extensions/
> - mv $e ${D}${libdir}/firefox/extensions/${EXTENSION}
> + cp -R --no-dereference --preserve=mode,links -v $e ${D}${libdir}/firefox/extensions/${EXTENSION}
can we use install utility to have better control over perms
> done
> }
>
> --
> 2.7.1
>
> --
> _______________________________________________
> Openembedded-devel mailing list
> Openembedded-devel at lists.openembedded.org
> http://lists.openembedded.org/mailman/listinfo/openembedded-devel
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 204 bytes
Desc: Message signed with OpenPGP using GPGMail
URL: <http://lists.openembedded.org/pipermail/openembedded-devel/attachments/20160226/dfb63aaf/attachment-0002.sig>
More information about the Openembedded-devel
mailing list