Skip to content

Commit

Permalink
Merge pull request #122 from nl6720/archlinux-bootstrap-x86_64.tar.zst
Browse files Browse the repository at this point in the history
.github/workflows/main.yml: update bootstrap tarball extension
  • Loading branch information
fishilico committed May 3, 2024
2 parents 04b2505 + c6e4dc3 commit cdf3189
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 cdf3189

Please sign in to comment.