[OE-core] [PATCH] bitbake.conf: add unzip to HOSTTOOLS

Christopher Larson kergoth at gmail.com
Thu Apr 13 15:47:10 UTC 2017


On Thu, Apr 13, 2017 at 8:44 AM, Andreas Müller <
schnitzeltony at googlemail.com> wrote:

> fixes do_unpack for *.zip-files:
>
> | /bin/sh: unzip: command not found
>
> Signed-off-by: Andreas Müller <schnitzeltony at googlemail.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 af3937a..1ea0dea 100644
> --- a/meta/conf/bitbake.conf
> +++ b/meta/conf/bitbake.conf
> @@ -461,7 +461,7 @@ HOSTTOOLS += " \
>      mktemp mv nm objcopy objdump od patch perl pod2man printf pwd python \
>      python2.7 python3 ranlib readelf readlink rm rmdir rpcgen sed sh
> sleep \
>      sort split stat strings strip tail tar tee test touch tr true uname
> uniq \
> -    wc wget which xargs \
> +    unzip wc wget which xargs \
>  "
>

unzip-native is already added to the depends of do_unpack in base.bbclass..
there should be no need to use an unzip on the host at all.
-- 
Christopher Larson
kergoth at gmail dot com
Founder - BitBake, OpenEmbedded, OpenZaurus
Senior Software Engineer, Mentor Graphics
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.openembedded.org/pipermail/openembedded-core/attachments/20170413/7e779794/attachment-0002.html>


More information about the Openembedded-core mailing list