Skip to content

Commit

Permalink
Create a predictable symlink to the latest ISO signature
Browse files Browse the repository at this point in the history
This has no use for the mirrors, since none of the signatures on the mirrors can be trusted, but it will ensure the archlinux-x86_64.iso.sig symlink exists on archlinux.org.

For example, if the ISO is downloaded from https://geo.mirror.pkgbuild.com/iso/latest/archlinux-x86_64.iso, its matching signature could be safely downloaded from https://archlinux.org/iso/latest/archlinux-x86_64.iso.sig .
  • Loading branch information
nl6720 committed May 22, 2022
1 parent 7f40e1a commit 9939d7b
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion justfile
Expand Up @@ -85,6 +85,7 @@ create-signatures:
# create a latest symlink
latest-symlink:
ln -sf "archlinux-${VERSION}-x86_64.iso" "archlinux-x86_64.iso"
ln -sf "archlinux-${VERSION}-x86_64.iso.sig" "archlinux-x86_64.iso.sig"

# create Torrent file
create-torrent:
Expand All @@ -105,7 +106,7 @@ create-torrent:
upload-release:
rsync -cah --progress \
"archlinux-${VERSION}-x86_64.iso"* md5sums.txt sha1sums.txt sha256sums.txt b2sums.txt arch "archlinux-bootstrap-${VERSION}-x86_64.tar.gz"* \
"archlinux-x86_64.iso" \
"archlinux-x86_64.iso" "archlinux-x86_64.iso.sig" \
-e ssh repos.archlinux.org:tmp/

# show release information
Expand Down

0 comments on commit 9939d7b

Please sign in to comment.