Merge pull request '[bootloader module] feat: add riscv64 grub-efi support' (#2457) from gfdgd-xi/calamares:calamares into calamares

Reviewed-on: https://codeberg.org/Calamares/calamares/pulls/2457
Reviewed-by: dalto <dalto@noreply.codeberg.org>
This commit is contained in:
dalto
2025-11-22 18:26:08 +01:00

View File

@@ -578,6 +578,8 @@ def get_grub_efi_parameters():
return "arm64-efi", "grubaa64.efi", "bootaa64.efi"
elif efi_bitness == "64" and cpu_type == "loongarch64":
return "loongarch64-efi", "grubloongarch64.efi", "bootloongarch64.efi"
elif efi_bitness == "64" and cpu_type == "riscv64":
return "riscv64-efi", "grubriscv64.efi", "bootriscv64.efi"
elif efi_bitness == "64":
# If it's not ARM, must by AMD64
return "x86_64-efi", "grubx64.efi", "bootx64.efi"