Skip to content

Commit

Permalink
Add riscv64 to supported UEFI architectures
Browse files Browse the repository at this point in the history
As we prepare a RISC-V installer image, we need to add 'riscv64' to the
supported UEFI architectures. This commit does so by setting values
for grub_name and grub_target.
  • Loading branch information
jawn-smith authored and dbungert committed Apr 8, 2022
1 parent 0d737df commit a744248
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions curtin/commands/install_grub.py
Expand Up @@ -62,6 +62,9 @@ def get_grub_package_name(target_arch, uefi, rhel_ver=None):
elif target_arch == 'i386':
grub_name = 'grub-efi-ia32'
grub_target = 'i386-efi'
elif target_arch == 'riscv64':
grub_name = 'grub-efi-riscv64'
grub_target = 'riscv64-efi'
else:
raise ValueError('Unsupported UEFI arch: %s' % target_arch)
else:
Expand Down

0 comments on commit a744248

Please sign in to comment.