summaryrefslogtreecommitdiffstats
path: root/bin/reproducible_setup_archlinux_schroot.sh
diff options
context:
space:
mode:
authorHolger Levsen <holger@layer-acht.org>2015-12-15 02:11:56 +0100
committerHolger Levsen <holger@layer-acht.org>2015-12-15 02:11:56 +0100
commit5dc30b0096fd8ffd1a0998227658d37afd05dccd (patch)
tree5ffaf8377490a2720ccf74fb1e37db6b2a217b53 /bin/reproducible_setup_archlinux_schroot.sh
parent33ce85927f07654da8d94f265d6196be9bf5a1f9 (diff)
downloadjenkins.debian.net-5dc30b0096fd8ffd1a0998227658d37afd05dccd.tar.xz
reproducible archlinux: refactor and enable multilib repository
Diffstat (limited to 'bin/reproducible_setup_archlinux_schroot.sh')
-rwxr-xr-xbin/reproducible_setup_archlinux_schroot.sh5
1 files changed, 4 insertions, 1 deletions
diff --git a/bin/reproducible_setup_archlinux_schroot.sh b/bin/reproducible_setup_archlinux_schroot.sh
index 02f49cb2..2b5bf3da 100755
--- a/bin/reproducible_setup_archlinux_schroot.sh
+++ b/bin/reproducible_setup_archlinux_schroot.sh
@@ -12,6 +12,9 @@ DEBUG=false
. /srv/jenkins/bin/common-functions.sh
common_init "$@"
+# common code
+. /srv/jenkins/bin/reproducible_common.sh
+
# define archlinux mirror to be used
ARCHLINUX_MIRROR=http://mirror.one.com/archlinux/
@@ -88,7 +91,7 @@ echo "Server = $ARCHLINUX_MIRROR/\$repo/os/\$arch" | tee -a $SCHROOT_BASE/$TARGE
$ROOTCMD bash -l -c 'pacman -Syu --noconfirm'
$ROOTCMD bash -l -c 'pacman -S --noconfirm base-devel devtools abs'
# configure abs
-$ROOTCMD bash -l -c 'abs core extra'
+$ROOTCMD bash -l -c "abs $ARCHLINUX_REPOS"
# configure sudo
echo 'jenkins ALL= NOPASSWD: /usr/sbin/pacman *' | $ROOTCMD tee -a /etc/sudoers