Patchwork [2/2] gnupg: Added update-alternatives entry for gpgv

login
register
mail settings
Submitter Paul Barker
Date March 25, 2013, 12:55 a.m.
Message ID <1364172907-14541-3-git-send-email-paul@paulbarker.me.uk>
Download mbox | patch
Permalink /patch/46807/
State New
Headers show

Comments

Paul Barker - March 25, 2013, 12:55 a.m.
Added update-alternatives entry linking '/usr/bin/gpgv' to 'gpgv2'. This is
required to allow apt-get to verify a signed repository.

Signed-off-by: Paul Barker <paul@paulbarker.me.uk>
---
 meta/recipes-support/gnupg/gnupg_2.0.19.bb |    5 ++++-
 1 file changed, 4 insertions(+), 1 deletion(-)

Patch

diff --git a/meta/recipes-support/gnupg/gnupg_2.0.19.bb b/meta/recipes-support/gnupg/gnupg_2.0.19.bb
index 2322a9e..63f08cb 100644
--- a/meta/recipes-support/gnupg/gnupg_2.0.19.bb
+++ b/meta/recipes-support/gnupg/gnupg_2.0.19.bb
@@ -25,7 +25,10 @@  EXTRA_OECONF = "--disable-ldap \
                 --with-readline=${STAGING_LIBDIR}/.. \
                "
 
-ALTERNATIVE_gnupg = "gpg"
+ALTERNATIVE_gnupg = "gpg gpgv"
 ALTERNATIVE_TARGET[gpg] = "${bindir}/gpg2"
 ALTERNATIVE_LINK_NAME[gpg] = "${bindir}/gpg"
 ALTERNATIVE_PRIORITY[gpg] = "100"
+ALTERNATIVE_TARGET[gpgv] = "${bindir}/gpgv2"
+ALTERNATIVE_LINK_NAME[gpgv] = "${bindir}/gpgv"
+ALTERNATIVE_PRIORITY[gpgv] = "100"