From a752a99ad88ec34784e7102ff66fe84e7b8a73f8 Mon Sep 17 00:00:00 2001 From: Alexandre Ghiti Date: Thu, 8 Sep 2022 16:16:49 +0200 Subject: [PATCH] riscv: LicheeRV must use u-boot-nezha package Signed-off-by: Alexandre Ghiti --- live-build/ubuntu-cpc/hooks.d/base/disk-image-uefi.binary | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/live-build/ubuntu-cpc/hooks.d/base/disk-image-uefi.binary b/live-build/ubuntu-cpc/hooks.d/base/disk-image-uefi.binary index 5fe18325..3a38300d 100755 --- a/live-build/ubuntu-cpc/hooks.d/base/disk-image-uefi.binary +++ b/live-build/ubuntu-cpc/hooks.d/base/disk-image-uefi.binary @@ -296,7 +296,8 @@ install_grub() { loader1="/dev/mapper${loop_device///dev/}p13" dd if=mountpoint/usr/lib/u-boot/nezha/boot0_sdcard_sun20iw1p1.bin of=$loader1 # The real U-Boot - chroot mountpoint apt-get install -qqy u-boot-${SUBARCH} + # u-boot-nezha actually contains both the LicheeRV and the Nezha boards support + chroot mountpoint apt-get install -qqy u-boot-nezha loader2="/dev/mapper${loop_device///dev/}p14" dd if=mountpoint/usr/lib/u-boot/${SUBARCH}/u-boot.toc1 of=$loader2 # Provide end-user modifyable CIDATA