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

Andreas Müller schnitzeltony at googlemail.com
Thu Apr 13 15:53:46 UTC 2017


On Thu, Apr 13, 2017 at 5:49 PM, Martin Jansa <martin.jansa at gmail.com> wrote:
> 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.
OK - but why do I see this error in do_unpack?

Andreas



More information about the Openembedded-core mailing list