From 5dc30b0096fd8ffd1a0998227658d37afd05dccd Mon Sep 17 00:00:00 2001 From: Holger Levsen Date: Tue, 15 Dec 2015 02:11:56 +0100 Subject: reproducible archlinux: refactor and enable multilib repository --- bin/reproducible_setup_archlinux_schroot.sh | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) (limited to 'bin/reproducible_setup_archlinux_schroot.sh') 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 -- cgit v1.2.3-54-g00ecf