From 236e1d68c430665a74966f7bd6d4a10dc9b111ce Mon Sep 17 00:00:00 2001 From: Simon Poirier Date: Thu, 25 Apr 2024 20:56:24 -0400 Subject: [PATCH] Add udev to buildd/disk-image-uefi hook to satisfy grub-probe. (LP: #2064175) --- live-build/buildd/hooks/02-disk-image-uefi.binary | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/live-build/buildd/hooks/02-disk-image-uefi.binary b/live-build/buildd/hooks/02-disk-image-uefi.binary index e4a5f8f9..a89e1b4e 100755 --- a/live-build/buildd/hooks/02-disk-image-uefi.binary +++ b/live-build/buildd/hooks/02-disk-image-uefi.binary @@ -76,15 +76,15 @@ install_grub() { # please file a bug against grub2 to include the affected module. case $ARCH in arm64) - chroot mountpoint apt-get -qqy install --no-install-recommends grub-efi-arm64 grub-efi-arm64-bin + chroot mountpoint apt-get -qqy install --no-install-recommends grub-efi-arm64 grub-efi-arm64-bin udev efi_target=arm64-efi ;; armhf) - chroot mountpoint apt-get -qqy install --no-install-recommends grub-efi-arm grub-efi-arm-bin + chroot mountpoint apt-get -qqy install --no-install-recommends grub-efi-arm grub-efi-arm-bin udev efi_target=arm-efi ;; amd64) - chroot mountpoint apt-get install -qqy grub-pc shim-signed + chroot mountpoint apt-get install -qqy grub-pc shim-signed udev efi_target=x86_64-efi ;; esac