3
0
mirror of https://git.launchpad.net/livecd-rootfs synced 2025-04-07 08:13:37 +00:00

ubuntu-cpc: install grub-efi on riscv images

grub-efi-riscv64 is in the archive and edk2 support for riscv is being
merged upstream.
This commit is contained in:
Gauthier Jolly 2023-06-23 13:24:57 +02:00
parent 775a2a718d
commit 946c5cf90c

@ -268,7 +268,6 @@ install_grub() {
fi
;;
riscv64)
# TODO grub-efi-riscv64 exists, but is not used by all the images yet
if [ -n "${SUBARCH:-}" ]; then
# Per-device images
local my_d=$(dirname $(readlink -f ${0}))
@ -451,7 +450,7 @@ EOF
esac
else
# Other images e.g. cloud images
chroot mountpoint apt-get install -qqy u-boot-menu #grub-efi-riscv64
chroot mountpoint apt-get install -qqy u-boot-menu grub-efi-riscv64
efi_target=riscv64-efi
chroot mountpoint u-boot-update