diff --git a/debian/changelog b/debian/changelog index 03bba9e8..6eb04635 100644 --- a/debian/changelog +++ b/debian/changelog @@ -1,3 +1,11 @@ +livecd-rootfs (2.710) hirsute; urgency=medium + + * esp: install grub in ubuntu bootloader id path, instead of removable. + (LP: #1912830) + * esp: perform fsck. (LP: #1912835) + + -- Dimitri John Ledkov Thu, 28 Jan 2021 10:43:20 +0000 + livecd-rootfs (2.709) hirsute; urgency=medium [ Sebastien Bacher ] 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 fcf3c7e0..069ccd9d 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 @@ -94,7 +94,7 @@ create_and_mount_uefi_partition() { mount "${uefi_dev}" "$mountpoint"/boot/efi cat << EOF >> "mountpoint/etc/fstab" -LABEL=UEFI /boot/efi vfat defaults 0 0 +LABEL=UEFI /boot/efi vfat defaults 0 1 EOF } @@ -195,19 +195,9 @@ EOF --boot-directory=/boot \ --efi-directory=/boot/efi \ --target=${efi_target} \ - --removable \ --uefi-secure-boot \ --no-nvram - if [ -f mountpoint/boot/efi/EFI/BOOT/grub.cfg ]; then - sed -i "s| root| root hd0,gpt1|" mountpoint/boot/efi/EFI/BOOT/grub.cfg - sed -i "1i${IMAGE_STR}" mountpoint/boot/efi/EFI/BOOT/grub.cfg - # For some reason the grub disk is looking for /boot/grub/grub.cfg on - # part 15.... - chroot mountpoint mkdir -p /boot/efi/boot/grub - chroot mountpoint cp /boot/efi/EFI/BOOT/grub.cfg /boot/efi/boot/grub - fi - if [ "$ARCH" = "amd64" ]; then # Install the BIOS/GPT bits. Since GPT boots from the ESP partition, # it means that we just run this simple command and we're done