[Buildroot] [PATCH 1/1] fs/tar: support passing long options to tar

Frank Hunleth fhunleth at troodon-software.com
Wed Jun 22 21:38:58 UTC 2016


Hi Arnout,

On Wed, Jun 22, 2016 at 5:20 PM, Arnout Vandecappelle <arnout at mind.be> wrote:
> On 21-06-16 01:18, Frank Hunleth wrote:
>> This change modifies how options are passed to tar to support long
>> options. Unfortunately, it breaks configurations that previously used
>> this feature. Before the change, options were passed using the
>> single-letter without a '-' form. E.g., if the user wanted to turn on
>> verbose output, they would have to specify 'v'. With this change, the
>> user would need to pass '-v'. The help text is updated to make the
>> requirement more clear.
>
>  I may be mistaken, but wouldn't we conserve full backward compatibility by using
>
>         tar $(TAR_OPTS) -cf ...

I got confused since tar's man page looks like it wants the "operation
mode" parameter first. Your proposal works for the options that I want
to use, though. I'll update my patch.

Thanks,
Frank


More information about the buildroot mailing list