summaryrefslogtreecommitdiff
path: root/build-i686.sh
diff options
context:
space:
mode:
authorTyler Dence <tyzoid.d@gmail.com>2017-10-11 19:29:05 -0400
committerTyler Dence <tyzoid.d@gmail.com>2017-10-11 19:29:05 -0400
commit188d82a8bef6c3178b41992df9cc3463e21752ee (patch)
treed859097de85ee960e93360ded113deaf4c65504d /build-i686.sh
parent2fd91fdfb3318eb9fd6985d75f4644946a980a36 (diff)
downloadreleng-188d82a8bef6c3178b41992df9cc3463e21752ee.tar.xz
Write a mirrorlist32 file so that the ISO can build with the arch32 mirrors instead of mainline
Diffstat (limited to 'build-i686.sh')
-rwxr-xr-xbuild-i686.sh7
1 files changed, 6 insertions, 1 deletions
diff --git a/build-i686.sh b/build-i686.sh
index 22c5550..da41d6d 100755
--- a/build-i686.sh
+++ b/build-i686.sh
@@ -52,11 +52,16 @@ then
fi
sudo pacman --noconfirm -Syu archiso32
+cat << "__ENDOFARCH32MIRRORLIST__" > /etc/pacman.d/mirrorlist32
+Server = https://32.arlm.tyzoid.com/$arch/$repo
+Server = http://arch32.mirrors.simplysam.us/$arch/$repo
+Server = https://mirror.archlinux32.org/$arch/$repo
+__ENDOFARCH32MIRRORLIST__
__ENDOFPROVISION.SH__
vagrant up
vagrant ssh -c "sudo reboot";
-vagrant ssh -c "sudo bash -c '/usr/share/archiso/configs/releng/build.sh'";
+vagrant ssh -c "sudo bash -c '/usr/share/archiso/configs/releng/build.sh -v'";
vagrant ssh-config > config.txt
scp -rF config.txt default:/home/vagrant/out ../