Skip to content

Commit 0fd3015

Browse files
committed
Stop latest aliases on riscv64 from pointing to anything but uclibc (for now)
1 parent 6ded0a4 commit 0fd3015

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

generate-stackbrew-library.sh

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -112,7 +112,9 @@ for version; do
112112
archCommit="${archCommits[$arch]}"
113113
if wget --quiet --spider -O /dev/null -o /dev/null "$rawGitUrl/$archCommit/$dir/$arch/rootfs.tar.gz"; then
114114
variantArches+=( "$arch" )
115-
if [ -z "${archLatestDir[$arch]:-}" ]; then
115+
if [ "$arch" = 'riscv64' ] && [[ "$variant" != *uclibc* ]]; then
116+
: # do not let "glibc" or "musl" be "latest" on riscv64 until they are no longer based on Debian Unstable / Alpine Edge
117+
elif [ -z "${archLatestDir[$arch]:-}" ]; then
116118
# record the first supported directory per architecture for "latest" and friends
117119
archLatestDir["$arch"]="$dir/$arch"
118120
actualArches+=( "$arch" )

0 commit comments

Comments
 (0)