Skip to content

Commit

Permalink
Stop latest aliases on riscv64 from pointing to anything but uclibc…
Browse files Browse the repository at this point in the history
… (for now)
  • Loading branch information
tianon committed Mar 5, 2024
1 parent 6ded0a4 commit 0fd3015
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion generate-stackbrew-library.sh
Original file line number Diff line number Diff line change
Expand Up @@ -112,7 +112,9 @@ for version; do
archCommit="${archCommits[$arch]}"
if wget --quiet --spider -O /dev/null -o /dev/null "$rawGitUrl/$archCommit/$dir/$arch/rootfs.tar.gz"; then
variantArches+=( "$arch" )
if [ -z "${archLatestDir[$arch]:-}" ]; then
if [ "$arch" = 'riscv64' ] && [[ "$variant" != *uclibc* ]]; then
: # do not let "glibc" or "musl" be "latest" on riscv64 until they are no longer based on Debian Unstable / Alpine Edge
elif [ -z "${archLatestDir[$arch]:-}" ]; then
# record the first supported directory per architecture for "latest" and friends
archLatestDir["$arch"]="$dir/$arch"
actualArches+=( "$arch" )
Expand Down

0 comments on commit 0fd3015

Please sign in to comment.