Commit 473cf45b authored by kpcyrd's avatar kpcyrd Committed by Holger Levsen

reproducible Arch Linux: ignore that certificates expire in the future

Signed-off-by: Holger Levsen's avatarHolger Levsen <holger@layer-acht.org>
parent eb19d144
......@@ -132,6 +132,11 @@ echo 'jenkins ALL= NOPASSWD: /usr/sbin/pacman *' | $ROOTCMD tee -a /etc/sudoers
$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
if [ "$HOSTNAME" = "profitbricks-build4-amd64" ] ; then
# workaround for certificates that aren't valid in the future.
# we might need to replace this with a mitm proxy in the future
echo "insecure" | tee -a $SCHROOT_BASE/$TARGET/var/lib/jenkins/.curlrc
fi
$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
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment