[yocto] [PATCH V2] opkg-build: add detection if using GNU tar.

Tom Ingleby tom at ewsting.org
Thu Jun 5 13:09:37 PDT 2014


Great!,

Have a good evening,
Tom

On 5 June 2014 20:56, Paul Barker <paul at paulbarker.me.uk> wrote:
> On Tue, Jun 03, 2014 at 11:25:35AM +0100, tom at ewsting.org wrote:
>> From: Thomas Ingleby <thomas.c.ingleby at intel.com>
>>
>> * Some options of GNU tar do not exist on other implementations
>>
>> Signed-off-by: Thomas Ingleby <thomas.c.ingleby at intel.com>
>
> I've made a couple of slight further changes, hope you don't mind.
>
> I've changed the subject to:
>
>     opkg-build: Detect if tar supports '--format' option
>
> I've also added a comment before the block of code which sets tarformat:
>
> +# Determine if tar supports the --format argument by checking the help output.
> +#
> +# This is needed because:
> +#    - Busybox tar doesn't support '--format'
> +#    - On some Linux distros, tar now defaults to posix format if '--format'
> +#      isn't explictly specified
> +#    - Opkg doesn't currently support posix format archives
> +#
> +# It's easier to check for mention of the '--format' option than to detect the
> +# tar implementation and maintain a list of which support '--format'.
>
> I've merged this to master with those changes. Sadly I made an error writing the
> comment and pushed too soon so I've pushed another commit to fix that.
>
> Many thanks,
>
> --
> Paul Barker
>
> Email: paul at paulbarker.me.uk
> http://www.paulbarker.me.uk



More information about the yocto mailing list