summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorHolger Levsen <holger@layer-acht.org>2015-10-16 15:39:19 +0200
committerHolger Levsen <holger@layer-acht.org>2015-10-16 15:39:19 +0200
commitbd168b73476e27b1930bd3e8b3a247df1ed1d90d (patch)
treeef04501d66a0c78898d90edacf8817b6e3135adf
parentccfc0135e00986e037a2ce5fc0b3ae18bfa9bcf2 (diff)
downloadjenkins.debian.net-bd168b73476e27b1930bd3e8b3a247df1ed1d90d.tar.xz
reproducible arch: run gpg twice, as the first run will create the needed gpg.conf
-rwxr-xr-xbin/reproducible_arch_schroot_setup.sh1
1 files changed, 1 insertions, 0 deletions
diff --git a/bin/reproducible_arch_schroot_setup.sh b/bin/reproducible_arch_schroot_setup.sh
index b29464cb..a6285e32 100755
--- a/bin/reproducible_arch_schroot_setup.sh
+++ b/bin/reproducible_arch_schroot_setup.sh
@@ -62,6 +62,7 @@ $ROOTCMD abs
# configure jenkins user
$ROOTCMD mkdir /var/lib/jenkins
$ROOTCMD chown jenkins:jenkins /var/lib/jenkins
+$USERCMD gpg --check-trustdb # first run will create ~/.gnupg/gpg.conf
$USERCMD gpg --recv-keys 0x091AB856069AAA1C
echo "schroot $TARGET set up successfully in $SCHROOT_BASE/$TARGET - exiting now."