Skip to content

Commit 5f09d51

Browse files
committed
build all debian/trixie images on riscv64
This reverts commit 5d682bd. This reverts commit 790d59b.
1 parent 76b2c93 commit 5f09d51

File tree

1 file changed

+4
-9
lines changed

1 file changed

+4
-9
lines changed

generate-stackbrew-library.sh

Lines changed: 4 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -93,15 +93,10 @@ for version; do
9393
variantAliases=( "${variantAliases[@]//latest-/}" )
9494

9595
variantArches="$arches"
96-
case "$version" in
97-
debian/trixie | ubuntu/focal)
98-
# trixie on riscv64 doesn't have git yet (at the very least, probably more once we get past that one), so we just exclude the upper variants for now and can revisit later
99-
# focal on riscv64 doesn't have mercurial, so we just exclude the upper focal variants from riscv64 entirely
100-
if [ "$variant" != 'curl' ]; then
101-
variantArches="$(sed -r -e 's/ riscv64 / /g' <<<" $variantArches ")"
102-
fi
103-
;;
104-
esac
96+
if [ "$version" = 'ubuntu/focal' ] && [ "$variant" != 'curl' ]; then
97+
# focal on riscv64 doesn't have mercurial, so we just exclude the upper focal variants from riscv64 entirely
98+
variantArches="$(sed -r -e 's/ riscv64 / /g' <<<" $variantArches ")"
99+
fi
105100

106101
echo
107102
cat <<-EOE

0 commit comments

Comments
 (0)