Merge pull request #163 from infosiftr/trixie-riscv64

Adjust trixie to avoid too much riscv64
This commit is contained in:
yosifkit 2024-08-13 11:16:48 -07:00 committed by GitHub
commit dece9c6559
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
1 changed files with 8 additions and 4 deletions

View File

@ -91,10 +91,14 @@ for version; do
variantAliases=( "${variantAliases[@]//latest-/}" )
variantArches="$arches"
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
case "$version" in
debian/trixie)
# 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
if [ "$variant" != 'curl' ]; then
variantArches="$(sed -r -e 's/ riscv64 / /g' <<<" $variantArches ")"
fi
;;
esac
echo
cat <<-EOE