Skip to content

Commit

Permalink
Fix bootstraps downloading
Browse files Browse the repository at this point in the history
New releases are packed in tar.zst.
  • Loading branch information
Kron4ek committed May 3, 2024
1 parent ecc4794 commit 1004a52
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions create-arch-bootstrap.sh
Original file line number Diff line number Diff line change
Expand Up @@ -246,7 +246,7 @@ bootstrap_urls=("mirror.f4st.host" \
echo "Downloading Arch Linux bootstrap"

for link in "${bootstrap_urls[@]}"; do
curl -#LO "https://${link}/archlinux/iso/latest/archlinux-bootstrap-x86_64.tar.gz"
curl -#LO "https://${link}/archlinux/iso/latest/archlinux-bootstrap-x86_64.tar.zst"
curl -#LO "https://${link}/archlinux/iso/latest/sha256sums.txt"

if [ -s sha256sums.txt ]; then
Expand All @@ -268,8 +268,8 @@ if [ -z "${bootstrap_is_good}" ]; then
fi

rm -rf "${bootstrap}"
tar xf archlinux-bootstrap-x86_64.tar.gz
rm archlinux-bootstrap-x86_64.tar.gz sha256sums.txt sha256.txt
tar xf archlinux-bootstrap-x86_64.tar.zst
rm archlinux-bootstrap-x86_64.tar.zst sha256sums.txt sha256.txt

mount_chroot

Expand Down

0 comments on commit 1004a52

Please sign in to comment.