[Merge] ~simpoir/livecd-rootfs/+git/livecd-rootfs:lp2064175-jammy-buildd-grub-udev into livecd-rootfs:ubuntu/master

Simon Poirier mp+465193 at code.launchpad.net
Mon Apr 29 22:38:26 UTC 2024


Simon Poirier has proposed merging ~simpoir/livecd-rootfs/+git/livecd-rootfs:lp2064175-jammy-buildd-grub-udev into livecd-rootfs:ubuntu/master.

Commit message:
Add udev to buildd/disk-image-uefi hook to satisfy grub-probe. (LP: #2064175)

Requested reviews:
  Canonical Foundations Team (canonical-foundations)
Related bugs:
  Bug #2045586 in util-linux (Ubuntu): "livecd-rootfs uses losetup -P for theoretically reliable/synchronous partition setup but it's not reliable"
  https://bugs.launchpad.net/ubuntu/+source/util-linux/+bug/2045586
  Bug #2052789 in livecd-rootfs (Ubuntu): "AppArmor profiles missing in kernel 5.15.0-1051+ release"
  https://bugs.launchpad.net/ubuntu/+source/livecd-rootfs/+bug/2052789
  Bug #2064175 in livecd-rootfs (Ubuntu): "buildd/h/02-disk-image-uefi.binary fails on jammy"
  https://bugs.launchpad.net/ubuntu/+source/livecd-rootfs/+bug/2064175

For more details, see:
https://code.launchpad.net/~simpoir/livecd-rootfs/+git/livecd-rootfs/+merge/465193

grub-probe fails to detect disks set using losetup on jammy.
udev used to be a transitive dependency of kpartx which, when installed explicitly prior to running
grub-install, resolves the partition detection for a grub-install.


[excerpt from live-build log]
+ chroot mountpoint grub-install /dev/loop3 --boot-directory=/boot --efi-directory=/boot/efi --target=arm64-efi --uefi-secure-boot --no-nvram
Installing for arm64-efi platform.
grub-install: error: cannot find a GRUB drive for /dev/loop3p15.  Check your device.map.
+ clean_loops
-- 
Your team Ubuntu Core Development Team is subscribed to branch livecd-rootfs:ubuntu/master.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: review-diff.txt
Type: text/x-diff
Size: 76636 bytes
Desc: not available
URL: <https://lists.ubuntu.com/archives/ubuntu-reviews/attachments/20240429/ee3374c0/attachment-0001.diff>


More information about the Ubuntu-reviews mailing list