[Qa-jenkins-scm] [jenkins.debian.net] 01/01: reproducible-archlinux: use pacman-git until the next release
Mattia Rizzolo
mattia at debian.org
Thu Nov 2 16:38:51 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 3eaf141ab431225bc18701498c15620c5488429a
Author: kpcyrd <git at rxv.cc>
Date: Thu Nov 2 17:35:45 2017 +0100
reproducible-archlinux: use pacman-git until the next release
---
bin/reproducible_setup_archlinux_schroot.sh | 17 ++++++++++++-----
1 file changed, 12 insertions(+), 5 deletions(-)
diff --git a/bin/reproducible_setup_archlinux_schroot.sh b/bin/reproducible_setup_archlinux_schroot.sh
index bdd31f2..743b348 100755
--- a/bin/reproducible_setup_archlinux_schroot.sh
+++ b/bin/reproducible_setup_archlinux_schroot.sh
@@ -111,10 +111,17 @@ $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'
+
+# NOTE: install pacman-git because there are the reproducible patches we need
+# this is 2017-11-02 on the rws3 in berlin, this can be dropped after the next
+# pacman release.
+# The workaround with sh -c is needed to delay the shell expansion due to chroot
+$USERCMD bash <<-__END__
+ mkdir /pacman-git
+ cd /pacman-git
+ wget -O PKGBUILD https://aur.archlinux.org/cgit/aur.git/plain/PKGBUILD?h=pacman-git
+ makepkg
+ __END__
+$ROOTCMD sh -c 'exec pacman -U /pacman-git/pacman-*-x86_64.pkg.tar.xz'
echo "schroot $TARGET set up successfully in $SCHROOT_BASE/$TARGET - exiting now."
--
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