el: 修复 almalinux 9 链接 404
Some checks failed
运行主程序 / 运行主程序 (./reinstall.bat --debug --password 123@@@, windows-latest) (push) Has been cancelled
运行主程序 / 运行主程序 (sudo bash reinstall.sh --debug --password 123@@@, ubuntu-latest) (push) Has been cancelled
同步到 CNB / 同步到 CNB (push) Has been cancelled

fixes #436
This commit is contained in:
bin456789 2025-09-21 15:27:17 +08:00
parent cf6b4c226d
commit ce8a315a2e
No known key found for this signature in database
GPG Key ID: EE301B386DE6C11B

View File

@ -1629,7 +1629,9 @@ Continue with DD?
fi
elarch=$basearch
if [ "$distro" = almalinux ] && [ "$basearch" = x86_64 ] && ! is_cpu_supports_x86_64_v3; then
if [ "$basearch" = x86_64 ] &&
[ "$distro" = almalinux ] && [ "$releasever" -ge 10 ] &&
! is_cpu_supports_x86_64_v3; then
elarch=x86_64_v2
fi