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

Martin Jansa martin.jansa at gmail.com
Thu Apr 13 15:49:53 UTC 2017


Some recipes like firefox depend on unzip even outside the do_unpack task:
https://github.com/OSSystems/meta-browser/commit/1e9c2d21cd4757b8d2352c2ff5aa72f3409d59f9
https://github.com/OSSystems/meta-browser/commit/bd2c39ddba00a3e0171e30ee4a4585b56122990a

but I agree these cases should be fixed by DEPENDS in the recipes which
need it instead of adding unzip globally for all.

On Thu, Apr 13, 2017 at 5:47 PM, Christopher Larson <kergoth at gmail.com>
wrote:

>
> 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
>
> --
> _______________________________________________
> 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/20170413/6146b750/attachment-0002.html>


More information about the Openembedded-core mailing list