[Qa-jenkins-scm] [jenkins.debian.net] 01/05: reproducible archlinux: enable multilib, so multilib can be build
Holger Levsen
holger at moszumanska.debian.org
Wed Dec 16 00:00:36 UTC 2015
This is an automated email from the git hooks/post-receive script.
holger pushed a commit to branch master
in repository jenkins.debian.net.
commit 1a507bbebad8352489058fd47840e6420163ec6c
Author: Holger Levsen <holger at layer-acht.org>
Date: Tue Dec 15 12:51:02 2015 +0100
reproducible archlinux: enable multilib, so multilib can be build
---
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 2b5bf3d..97b3a4e 100755
--- a/bin/reproducible_setup_archlinux_schroot.sh
+++ b/bin/reproducible_setup_archlinux_schroot.sh
@@ -87,7 +87,11 @@ echo ". /etc/profile.d/proxy.sh" | tee -a $SCHROOT_BASE/$TARGET/root/.bashrc
# configure pacman
$ROOTCMD bash -l -c 'pacman-key --init'
$ROOTCMD bash -l -c 'pacman-key --populate archlinux'
+# use a specific mirror
echo "Server = $ARCHLINUX_MIRROR/\$repo/os/\$arch" | tee -a $SCHROOT_BASE/$TARGET/etc/pacman.d/mirrorlist
+# 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
$ROOTCMD bash -l -c 'pacman -Syu --noconfirm'
$ROOTCMD bash -l -c 'pacman -S --noconfirm base-devel devtools abs'
# configure abs
--
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