summaryrefslogtreecommitdiffstats
path: root/bin/reproducible_setup_archlinux_schroot.sh
diff options
context:
space:
mode:
authorHolger Levsen <holger@layer-acht.org>2015-12-12 12:54:25 +0100
committerHolger Levsen <holger@layer-acht.org>2015-12-12 12:54:25 +0100
commit7ece95bae42f202007345ac3b07908e22787b0a4 (patch)
tree0833eb3c1dfa6bda8c610a48cb42a61133080bfc /bin/reproducible_setup_archlinux_schroot.sh
parenta902d1f8c381bd6c31eaa81a1a5bea18f1187463 (diff)
downloadjenkins.debian.net-7ece95bae42f202007345ac3b07908e22787b0a4.tar.xz
reproducible archlinux: use gpg to verify sources
Diffstat (limited to 'bin/reproducible_setup_archlinux_schroot.sh')
-rwxr-xr-xbin/reproducible_setup_archlinux_schroot.sh1
1 files changed, 1 insertions, 0 deletions
diff --git a/bin/reproducible_setup_archlinux_schroot.sh b/bin/reproducible_setup_archlinux_schroot.sh
index 3e90bdc4..d344cbf4 100755
--- a/bin/reproducible_setup_archlinux_schroot.sh
+++ b/bin/reproducible_setup_archlinux_schroot.sh
@@ -97,6 +97,7 @@ $ROOTCMD mkdir /var/lib/jenkins
$ROOTCMD chown -R jenkins:jenkins /var/lib/jenkins
echo ". /etc/profile.d/proxy.sh" | tee -a $SCHROOT_BASE/$TARGET/var/lib/jenkins/.bashrc
$USERCMD bash -l -c 'gpg --check-trustdb' # first run will create ~/.gnupg/gpg.conf
+echo "keyserver-options auto-key-retrieve" | $USERCMD tee -a $SCHROOT_BASE/$TARGET/var/lib/jenkins/.gnupg/gpg.conf
$USERCMD bash -l -c 'gpg --recv-keys 0x091AB856069AAA1C'
echo "schroot $TARGET set up successfully in $SCHROOT_BASE/$TARGET - exiting now."