Merge branch 'cpc/riscv/install_grub' of git+ssh://git.launchpad.net/~gjolly/livecd-rootfs into ubuntu/master

xnox/virtual-armhf
Łukasz 'sil2100' Zemczak 2 years ago
commit 99189cc727

1
debian/changelog vendored

@ -2,6 +2,7 @@ livecd-rootfs (2.892) UNRELEASED; urgency=medium
[ Gauthier Jolly ] [ Gauthier Jolly ]
* ubuntu-cpc: fix images for hardware devices * ubuntu-cpc: fix images for hardware devices
* ubuntu-cpc: install grub-efi on riscv images
[ Heinrich Schuchardt ] [ Heinrich Schuchardt ]
* RISC-V: use GRUB on Unmatched board. Simplify the code. * RISC-V: use GRUB on Unmatched board. Simplify the code.

@ -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…
Cancel
Save