From 681ff948bec855e67949b5793aae68bebbcb793a Mon Sep 17 00:00:00 2001 From: Cody Shepherd Date: Thu, 31 Oct 2024 10:59:56 +0100 Subject: [PATCH] fix: add packge list and manifest creation in early break stanza this fixes missing manifests for riscv64, which causes problems subsequent hooks that expect the uefi manifest to exist --- live-build/ubuntu-cpc/hooks.d/base/disk-image-uefi.binary | 2 ++ 1 file changed, 2 insertions(+) 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 db9a8460..31774081 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 @@ -400,6 +400,8 @@ EOF if [ "${SUBARCH:-}" != "visionfive" ] && [ "${SUBARCH:-}" != "nezha" ] && [ "${SUBARCH:-}" != "licheerv" ] && [ "${SUBARCH:-}" != "icicle" ]; then ## TODO remove below once we have grub-efi-riscv64 for the platforms + chroot mountpoint dpkg-query -W > binary/boot/filesystem.packages + create_manifest "mountpoint/" "$PWD/livecd.ubuntu-cpc.disk-uefi.manifest" "$PWD/livecd.ubuntu-cpc.disk-uefi.spdx" "cloud-image-$ARCH-$(date +%Y%m%dT%H:%M:%S)" rm mountpoint/tmp/device.map umount mountpoint/boot/efi mount