summaryrefslogtreecommitdiffstats
path: root/bin/reproducible_setup_archlinux_schroot.sh
diff options
context:
space:
mode:
authorHolger Levsen <holger@layer-acht.org>2016-01-27 12:00:46 +0100
committerHolger Levsen <holger@layer-acht.org>2016-01-27 12:00:46 +0100
commit00a830510648d32623a65da8a19025e9e3571aac (patch)
treeae7d1aa9742ed0bf7cef96f581444234546045fe /bin/reproducible_setup_archlinux_schroot.sh
parent7b9ccb69367e8f2ea7948880b07674b91f8ec383 (diff)
downloadjenkins.debian.net-00a830510648d32623a65da8a19025e9e3571aac.tar.xz
reproducible archlinux: more YOLO-style workarounding weirdness on pb3
Diffstat (limited to 'bin/reproducible_setup_archlinux_schroot.sh')
-rwxr-xr-xbin/reproducible_setup_archlinux_schroot.sh4
1 files changed, 4 insertions, 0 deletions
diff --git a/bin/reproducible_setup_archlinux_schroot.sh b/bin/reproducible_setup_archlinux_schroot.sh
index 7fd3e19e..0426a043 100755
--- a/bin/reproducible_setup_archlinux_schroot.sh
+++ b/bin/reproducible_setup_archlinux_schroot.sh
@@ -108,6 +108,10 @@ $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" | tee -a $SCHROOT_BASE/$TARGET/var/lib/jenkins/.gnupg/gpg.conf
+if [ "$HOSTNAME" = "profitbricks-build3-amd64" ] ; then
+ # YOLO, see YOLO comment above
+ echo "no-autostart" | tee -a $SCHROOT_BASE/$TARGET/var/lib/jenkins/.gnupg/gpg.conf
+fi
$USERCMD bash -l -c 'gpg --recv-keys 0x091AB856069AAA1C'
echo "schroot $TARGET set up successfully in $SCHROOT_BASE/$TARGET - exiting now."