Send patches - preferably formatted by git format-patch - to patches at archlinux32 dot org.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTyler Dence <tyzoid.d@gmail.com>2018-02-28 19:17:44 -0500
committerTyler Dence <tyzoid.d@gmail.com>2018-02-28 19:17:44 -0500
commitc04496db4e708e744c5519f3908d8d4d1cb704f3 (patch)
tree7c7dd4bdc1bfb31341304c8c5cf23ba5c8c8d36f
parentb51ce612126c7193a34a52f80a124de51f06dc79 (diff)
Change i686 iso build script to always output the first of the month
- This allows building the iso the night before, helping ensure timely releases
-rwxr-xr-xbuild-i686.sh12
1 files changed, 10 insertions, 2 deletions
diff --git a/build-i686.sh b/build-i686.sh
index da41d6d..0b90a4b 100755
--- a/build-i686.sh
+++ b/build-i686.sh
@@ -12,6 +12,7 @@ END
cat << "__ENDOFPROVISION.SH__" > provision.sh
#!/bin/bash
set -e
+ln -svf /usr/share/zoneinfo/America/Detroit /etc/localtime
tmpFile="$(mktemp)"
curl -o "${tmpFile}" "https://arch.eckner.net/archlinuxewe/masterkeys.gpg"
pacman-key --add "${tmpFile}"
@@ -51,19 +52,26 @@ then
rm -f "${tmpFile}"
fi
+sudo pacman --noconfirm -Sy archlinux-keyring archlinux32-keyring
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__
+
+cat << "__ENDOFISOBUILDSCRIPT__" | sudo tee /root/buildiso.sh >/dev/null
+#!/bin/bash
+/usr/share/archiso/configs/releng/build.sh -v -V"$(date -d"$(date -d "+2day" +%Y-%m-01T12:00:00Z)" +%Y.%m.%d)" -L"ARCH_$(date -d"$(date -d "+2day" +%Y-%m-01T12:00:00Z)" +%Y%m)"
+__ENDOFISOBUILDSCRIPT__
+chmod +x /root/buildiso.sh
__ENDOFPROVISION.SH__
vagrant up
vagrant ssh -c "sudo reboot";
-vagrant ssh -c "sudo bash -c '/usr/share/archiso/configs/releng/build.sh -v'";
+vagrant ssh -c 'sudo bash -c "/root/buildiso.sh"';
vagrant ssh-config > config.txt
scp -rF config.txt default:/home/vagrant/out ../
-vagrant destroy -f
+#vagrant destroy -f