Displaying 1 result from an estimated 1 matches for "with_gnupg".
2017 Apr 04
2
[PATCH] builder: Allow GnuPG v2 or v1 to be used (RHBZ#1438939).
...sed by virt-builder. This is just the
+dnl default binary, and it can be overridden on the command line.
+AC_ARG_WITH([gnupg],
+ [AS_HELP_STRING([--with-gnupg="gpg2"],
+ [set default GNU Privacy Guard binary v1 or v2 @<:@default="gpg2 gpg"@:>@])],
+ [],
+ [with_gnupg="gpg2 gpg"]
+)
+
+AS_IF([test "x$with_gnupg" = "xno"],[
+ AC_MSG_WARN([GnuPG was disabled, you must use virt-builder --gpg option to check signatures])
+ GNUPG=no
+],[
+ AC_PATH_PROGS([GNUPG],[$with_gnupg],[no])
+ AS_IF([test "x$GNUPG" = "xno...