diff options
-rwxr-xr-x | bin/reproducible_setup_archlinux_schroot.sh | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/bin/reproducible_setup_archlinux_schroot.sh b/bin/reproducible_setup_archlinux_schroot.sh index 58091cb2..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 multilib +$ROOTCMD bash -l -c "abs $ARCHLINUX_REPOS" # configure sudo echo 'jenkins ALL= NOPASSWD: /usr/sbin/pacman *' | $ROOTCMD tee -a /etc/sudoers |