curtin-dev team mailing list archive
-
curtin-dev team
-
Mailing list archive
-
Message #02229
[Merge] ~jawn-smith/curtin:master into curtin:master
William Wilson has proposed merging ~jawn-smith/curtin:master into curtin:master.
Commit message:
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.
Requested reviews:
Dan Bungert (dbungert)
For more details, see:
https://code.launchpad.net/~jawn-smith/curtin/+git/curtin/+merge/416835
--
Your team curtin developers is subscribed to branch curtin:master.
diff --git a/curtin/commands/install_grub.py b/curtin/commands/install_grub.py
index ba46bd2..74ffdf1 100644
--- a/curtin/commands/install_grub.py
+++ b/curtin/commands/install_grub.py
@@ -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:
References