[Buildroot] [PATCH v3 2/5] package: add generic support for lz archives

Arnout Vandecappelle arnout at mind.be
Thu Feb 16 17:24:56 UTC 2017



On 16-02-17 09:34, Thomas Petazzoni wrote:
> Hello,
> 
> On Thu, 16 Feb 2017 09:25:55 +0100, Arnout Vandecappelle wrote:
> 
>>> BR2_LZCAT does not specify only the path to the lzcat program, but also
>>> its options. And we completely ignore those custom options if the
>>> lzcat built by Buildroot is used.  
>>
>>  It is possible to provide extra options, but these are completely useless.
>> Well, actually, lzcat is the first one with an option that could be useful:
>> --threads, to decompress over several cores. Except that --threads isn't
>> implemented yet for decompression. So, although it is possible to add extra
>> options in BR2_LZCAT, it just makes no sense.
> 
> My point is not whether it makes sense or not to be able to pass
> options to lzip. My point is that we provide a Config.in option to
> allow the user to pass additional options, but we don't actually take
> into account the value of this option when we build our own host-lzip or
> host-xz.

 My point is that we *don't* have an option to be able to pass options to lzip.
We have an option to be able to provide an alternative path to lzip, and when
you use that option you have to remember to add the correct arguments as well.

 Regards,
 Arnout

-- 
Arnout Vandecappelle                          arnout at mind be
Senior Embedded Software Architect            +32-16-286500
Essensium/Mind                                http://www.mind.be
G.Geenslaan 9, 3001 Leuven, Belgium           BE 872 984 063 RPR Leuven
LinkedIn profile: http://www.linkedin.com/in/arnoutvandecappelle
GPG fingerprint:  7493 020B C7E3 8618 8DEC 222C 82EB F404 F9AC 0DDF


More information about the buildroot mailing list