mirror of
https://git.launchpad.net/livecd-rootfs
synced 2025-06-09 00:51:36 +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:
parent
775a2a718d
commit
946c5cf90c
@ -268,7 +268,6 @@ install_grub() {
|
|||||||
fi
|
fi
|
||||||
;;
|
;;
|
||||||
riscv64)
|
riscv64)
|
||||||
# TODO grub-efi-riscv64 exists, but is not used by all the images yet
|
|
||||||
if [ -n "${SUBARCH:-}" ]; then
|
if [ -n "${SUBARCH:-}" ]; then
|
||||||
# Per-device images
|
# Per-device images
|
||||||
local my_d=$(dirname $(readlink -f ${0}))
|
local my_d=$(dirname $(readlink -f ${0}))
|
||||||
@ -451,7 +450,7 @@ EOF
|
|||||||
esac
|
esac
|
||||||
else
|
else
|
||||||
# Other images e.g. cloud images
|
# 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
|
efi_target=riscv64-efi
|
||||||
|
|
||||||
chroot mountpoint u-boot-update
|
chroot mountpoint u-boot-update
|
||||||
|
Loading…
x
Reference in New Issue
Block a user