Skip to content

Commit

Permalink
.github/workflows/main.yml: update bootstrap tarball extension
Browse files Browse the repository at this point in the history
Starting with the 2024.05.01 release, the Arch Linux bootstrap tarball
uses zstd compression.

Related to https://gitlab.archlinux.org/archlinux/archiso/-/issues/130
  • Loading branch information
nl6720 committed May 1, 2024
1 parent 04b2505 commit c6e4dc3
Showing 1 changed file with 6 additions and 6 deletions.
12 changes: 6 additions & 6 deletions .github/workflows/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -57,8 +57,8 @@ jobs:
- name: Download latest ArchISO bootstrap image
run: |
echo "Downloading archlinux-bootstrap-x86_64.tar.gz"
curl -LO "https://geo.mirror.pkgbuild.com/iso/latest/archlinux-bootstrap-x86_64.tar.gz"
echo "Downloading archlinux-bootstrap-x86_64.tar.zst"
curl -LO "https://geo.mirror.pkgbuild.com/iso/latest/archlinux-bootstrap-x86_64.tar.zst"
- name: Create new raw image for Arch Linux and mount it as a loop device
run: |
Expand All @@ -81,7 +81,7 @@ jobs:

- name: Prepare arch-bootstrap directory, chroot into it and install Arch with SELinux support to loop-mounted raw image
run: |
sudo tar xf archlinux-bootstrap-x86_64.tar.gz -C /tmp/boots --strip-components 1
sudo tar xf archlinux-bootstrap-x86_64.tar.zst -C /tmp/boots --strip-components 1
sudo cp -v repo/* /tmp/boots/var/cache/pacman/pkg
sudo /tmp/boots/usr/bin/arch-chroot /tmp/boots /bin/bash -ex -c \
'pacman-key --init;
Expand Down Expand Up @@ -179,9 +179,9 @@ jobs:
- name: Prepare Arch specific binaries for use
run: |
mkdir -v /tmp/boots
echo "Downloading archlinux-bootstrap-x86_64.tar.gz"
curl -LO "https://geo.mirror.pkgbuild.com/iso/latest/archlinux-bootstrap-x86_64.tar.gz"
sudo tar xf archlinux-bootstrap-x86_64.tar.gz -C /tmp/boots --strip-components 1
echo "Downloading archlinux-bootstrap-x86_64.tar.zst"
curl -LO "https://geo.mirror.pkgbuild.com/iso/latest/archlinux-bootstrap-x86_64.tar.zst"
sudo tar xf archlinux-bootstrap-x86_64.tar.zst -C /tmp/boots --strip-components 1
mkdir -v /tmp/boots/repo
- name: Get the SELinux packages from build job
Expand Down

0 comments on commit c6e4dc3

Please sign in to comment.