[Buildroot] [PATCH] package/gnupg: fix TAR path in gpg-zip script

Thomas Petazzoni thomas.petazzoni at bootlin.com
Mon Dec 30 20:40:16 UTC 2019


On Mon, 30 Dec 2019 14:23:16 +0100
"Yann E. MORIN" <yann.morin.1998 at free.fr> wrote:

> > So we just opt with a very simple solution: replace TAR=something by
> > TAR=/bin/tar, through a post-install target hook. We only do this if
> > gpg-zip is installed, since its installation is optional. Note that
> > the logic is still not ideal, because the installation (or not) of
> > gpg-zip depends on whether the system/host tar has ustar format or
> > not.  
> 
> But isn't that always the case, in practice? If the host has 
> 1.27 <= tar <= 1.29, then we use it, and that has support for ustar.
> Otherwise, we build tar 1.29, and that also has ustar.

That's true indeed. But it's still kind of a coincidence.

Thanks for reviewing and applying!

Thomas
-- 
Thomas Petazzoni, CTO, Bootlin
Embedded Linux and Kernel engineering
https://bootlin.com



More information about the buildroot mailing list