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
ubuntu/jammy
Cody Shepherd 2 months ago
parent 315f3aef42
commit 681ff948be
No known key found for this signature in database
GPG Key ID: 0DB7E5F05C3FAB5F

@ -400,6 +400,8 @@ EOF
if [ "${SUBARCH:-}" != "visionfive" ] && [ "${SUBARCH:-}" != "nezha" ] && [ "${SUBARCH:-}" != "licheerv" ] && [ "${SUBARCH:-}" != "icicle" ]; then if [ "${SUBARCH:-}" != "visionfive" ] && [ "${SUBARCH:-}" != "nezha" ] && [ "${SUBARCH:-}" != "licheerv" ] && [ "${SUBARCH:-}" != "icicle" ]; then
## TODO remove below once we have grub-efi-riscv64 for the platforms ## 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 rm mountpoint/tmp/device.map
umount mountpoint/boot/efi umount mountpoint/boot/efi
mount mount

Loading…
Cancel
Save