Merge pull request #168 from mmoll/trixie_rv64

build all debian/trixie images on riscv64
This commit is contained in:
Tianon Gravi 2025-05-20 13:45:44 -07:00 committed by GitHub
commit a3cb572e53
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
1 changed files with 4 additions and 9 deletions

View File

@ -93,15 +93,10 @@ for version; do
variantAliases=( "${variantAliases[@]//latest-/}" )
variantArches="$arches"
case "$version" in
debian/trixie | ubuntu/focal)
# 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
# focal on riscv64 doesn't have mercurial, so we just exclude the upper focal variants from riscv64 entirely
if [ "$variant" != 'curl' ]; then
variantArches="$(sed -r -e 's/ riscv64 / /g' <<<" $variantArches ")"
fi
;;
esac
if [ "$version" = 'ubuntu/focal' ] && [ "$variant" != 'curl' ]; then
# focal on riscv64 doesn't have mercurial, so we just exclude the upper focal variants from riscv64 entirely
variantArches="$(sed -r -e 's/ riscv64 / /g' <<<" $variantArches ")"
fi
echo
cat <<-EOE