diff --git a/debian/changelog b/debian/changelog index bae7ec8c..671b6624 100644 --- a/debian/changelog +++ b/debian/changelog @@ -1,3 +1,10 @@ +livecd-rootfs (24.04.43) UNRELEASED; urgency=medium + + * Set the required debconf settings to allow for noninteractive + grub updates in cloud images (LP: #2054103) + + -- Philip Roche Fri, 23 Feb 2024 13:54:57 +0000 + livecd-rootfs (24.04.42) noble; urgency=medium [ Sean Davis ] 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 4edd12ce..d4ec5f0c 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 @@ -130,6 +130,9 @@ install_grub() { amd64) chroot mountpoint apt-get install -qqy ${package_install_recommends_option} grub-pc shim-signed efi_target=x86_64-efi + # set the required debconf settings to allow for non interactive grub updates in cloud images LP: #2054103 + echo "grub-pc grub-efi/cloud_style_installation boolean true" | chroot mountpoint debconf-set-selections + echo "grub-pc grub-pc/cloud_style_installation boolean true" | chroot mountpoint debconf-set-selections ;; riscv64) chroot mountpoint apt-get install -qqy ${package_install_recommends_option} u-boot-menu grub-efi-riscv64