[Buildroot] [PATCH 2/4] package/volume_key: add new package

Thomas Petazzoni thomas.petazzoni at bootlin.com
Tue Feb 18 14:47:39 UTC 2020


On Tue, 18 Feb 2020 15:06:47 +0100
Giulio Benetti <giulio.benetti at benettiengineering.com> wrote:

> >> AC_PATH_PROG([GPG], [gpg2])
> >> AC_ARG_VAR([GPG])
> >> AC_DEFINE_UNQUOTED([GPG_PATH], "$GPG", [Path to the gpg2 executable])
> >>
> >> So don't we need gnupg on the host for this to work ?  
> > 
> > Yes, host-gnupg2, I've missed it since my distro provides it.  
> 
> I've retried building, gnupg2 only is supported but it's not mandatory 
> to build. So as I can understand we can avoid adding host-gnupg2.

Weird, I thought AC_PATH_PROG() was aborting if the tool was not found.
If that's not the case, then we should ensure the build never uses
gpg2, even if available, so that the build result doesn't depend on
whether gpg2 is available system-wide or not.

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


More information about the buildroot mailing list