[OE-core] [PATCH] bitbake.conf: Add unzip hosttool

Martin Jansa martin.jansa at gmail.com
Tue Jul 18 10:23:55 UTC 2017


There is unzip-native available, so you should add it to DEPENDS only where
needed.e.g. like in:
https://github.com/OSSystems/meta-browser/commit/bd2c39ddba00a3e0171e30ee4a4585b56122990a


On Tue, Jul 18, 2017 at 11:03 AM, Ricardo Ribalda Delgado <
ricardo.ribalda at gmail.com> wrote:

> Unzip is required for jar files. Without this patch:
> ERROR: junit4-4.3.1-r0 do_unpack: Unpack failure for URL:
> 'http://downloads.sourceforge.net/junit/junit-4.3.1-src.jar'. Unpack
> command
> PATH="/var/lib/jenkins/workspace/qt5122-dyspro/build/
> tmp/sysroots-uninative/x86_64-linux/usr/bin ......."
> unzip -q -o '/var/lib/yocto/downloads/junit-4.3.1-src.jar' failed with
> return value 127
>
> Signed-off-by: Ricardo Ribalda Delgado <ricardo.ribalda at gmail.com>
> ---
>  meta/conf/bitbake.conf | 2 +-
>  1 file changed, 1 insertion(+), 1 deletion(-)
>
> diff --git a/meta/conf/bitbake.conf b/meta/conf/bitbake.conf
> index 9a3aa8bbf29e..35608d0fa787 100644
> --- a/meta/conf/bitbake.conf
> +++ b/meta/conf/bitbake.conf
> @@ -477,7 +477,7 @@ HOSTTOOLS += "ip ping ps scp ssh stty"
>  HOSTTOOLS_NONFATAL += "aws ccache gcc-ar gpg ld.bfd ld.gold nc sftp socat
> sudo"
>
>  # Temporary add few more detected in bitbake world
> -HOSTTOOLS_NONFATAL += "join nl size yes zcat"
> +HOSTTOOLS_NONFATAL += "join nl size unzip yes zcat"
>
>  CCACHE ??= ""
>  # ccache < 3.1.10 will create CCACHE_DIR on startup even if disabled, and
> --
> 2.13.2
>
> --
> _______________________________________________
> Openembedded-core mailing list
> Openembedded-core at lists.openembedded.org
> http://lists.openembedded.org/mailman/listinfo/openembedded-core
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.openembedded.org/pipermail/openembedded-core/attachments/20170718/860ff7ea/attachment-0002.html>


More information about the Openembedded-core mailing list