From 9a2cbc17010ba858945090679efda9babf16ff96 Mon Sep 17 00:00:00 2001 From: Michael Prokop Date: Mon, 31 Mar 2014 12:23:59 +0200 Subject: [PATCH] MT#6171 Install Sipwise gpg key for usage with apt if not already present On plain Debian installations we don't have the ngcp-keyring package present, so we run into: | WARNING: The following packages cannot be authenticated! --- deployment.sh | 11 +++++++++++ 1 file changed, 11 insertions(+) diff --git a/deployment.sh b/deployment.sh index c6f9d43..d6d5294 100755 --- a/deployment.sh +++ b/deployment.sh @@ -1784,6 +1784,17 @@ vagrant_configuration() { echo "TIP: Make sure to have virtualbox-guest-additions-iso installed." fi + # if ngcp-keyring isn't present (e.g. on plain Debian systems) then we have + # to install our key for usage of our own Debian mirror + if apt-key list | grep -q 680FBA8A ; then + echo "Sipwise Debian mirror key is already present." + else + echo "Installing Sipwise Debian mirror key (680FBA8A)." + wget -O /etc/apt/680FBA8A.asc http://deb.sipwise.com/autobuild/680FBA8A.asc + apt-key add /etc/apt/680FBA8A.asc + apt-get update + fi + # required for fake_uname and VBoxLinuxAdditions.run grml-chroot $TARGET apt-get update grml-chroot $TARGET apt-get -y install libc6-dev gcc