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
This commit is contained in:
Cody Shepherd 2024-10-31 10:59:56 +01:00
parent 315f3aef42
commit 681ff948be
No known key found for this signature in database
GPG Key ID: 0DB7E5F05C3FAB5F

View File

@ -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