[Qa-jenkins-scm] [jenkins.debian.net] 01/01: reproducible-archlinux: disable signature verification when running in the future

Mattia Rizzolo mattia at debian.org
Sat Nov 4 12:31:22 UTC 2017


This is an automated email from the git hooks/post-receive script.

mattia pushed a commit to branch master
in repository jenkins.debian.net.

commit 883f70ada2adb159f8f9c96427c491a03a7d41cc
Author: kpcyrd <git at rxv.cc>
Date:   Fri Nov 3 02:32:08 2017 +0100

    reproducible-archlinux: disable signature verification when running in the future
    
    Signed-off-by: Mattia Rizzolo <mattia at debian.org>
---
 bin/reproducible_setup_archlinux_schroot.sh | 4 ++++
 1 file changed, 4 insertions(+)

diff --git a/bin/reproducible_setup_archlinux_schroot.sh b/bin/reproducible_setup_archlinux_schroot.sh
index e081a86..ce65c10 100755
--- a/bin/reproducible_setup_archlinux_schroot.sh
+++ b/bin/reproducible_setup_archlinux_schroot.sh
@@ -100,6 +100,10 @@ echo "Server = $ARCHLINUX_MIRROR/\$repo/os/\$arch" | tee -a $SCHROOT_BASE/$TARGE
 # enable multilib
 # (-0777 tells perl to read the whole file before processing it. then it just does a multi-line regex…)
 perl -0777 -i -pe 's/#\[multilib\]\n#Include = \/etc\/pacman.d\/mirrorlist/[multilib]\nInclude = \/etc\/pacman.d\/mirrorlist/igs' $SCHROOT_BASE/$TARGET/etc/pacman.conf
+if [ "$HOSTNAME" = "profitbricks-build4-amd64" ] ; then
+    # disable signature verification so packages won't fail to install when setting the time to +$x years
+    sed -i 's/^SigLevel\s*=.*/SigLevel = Never/' "$SCHROOT_BASE/$TARGET/etc/pacman.conf"
+fi
 $ROOTCMD bash -l -c 'pacman -Syu --noconfirm'
 $ROOTCMD bash -l -c 'pacman -S --noconfirm base-devel devtools fakechroot asciidoc wget'
 # configure sudo

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/qa/jenkins.debian.net.git



More information about the Qa-jenkins-scm mailing list