Update riscv64 "latest" exclusion logic now that musl is on Alpine 3.20 with riscv64 support

This commit is contained in:
Tianon Gravi 2024-08-30 10:59:25 -07:00
parent 6fda3b59da
commit b3331332c3
1 changed files with 2 additions and 2 deletions

View File

@ -112,8 +112,8 @@ for version; do
archCommit="${archCommits[$arch]}" archCommit="${archCommits[$arch]}"
if wget --quiet --spider -O /dev/null -o /dev/null "$rawGitUrl/$archCommit/$dir/$arch/rootfs.tar.gz"; then if wget --quiet --spider -O /dev/null -o /dev/null "$rawGitUrl/$archCommit/$dir/$arch/rootfs.tar.gz"; then
variantArches+=( "$arch" ) variantArches+=( "$arch" )
if [ "$arch" = 'riscv64' ] && [[ "$variant" != *uclibc* ]]; then if [ "$arch" = 'riscv64' ] && [ "$variant" = 'glibc' ]; then
: # do not let "glibc" or "musl" be "latest" on riscv64 until they are no longer based on Debian Unstable / Alpine Edge : # do not let "glibc" be "latest" on riscv64 until it is no longer based on Debian Unstable
elif [ -z "${archLatestDir[$arch]:-}" ]; then elif [ -z "${archLatestDir[$arch]:-}" ]; then
# record the first supported directory per architecture for "latest" and friends # record the first supported directory per architecture for "latest" and friends
archLatestDir["$arch"]="$dir/$arch" archLatestDir["$arch"]="$dir/$arch"