From b1432b36be229fc63fe9e1bcd4bd8d71dd64ebef Mon Sep 17 00:00:00 2001 From: Steve Langasek Date: Fri, 25 Aug 2017 11:18:19 -0700 Subject: [PATCH] Don't reference dropped grub_modules variable in grub-install command --- live-build/ubuntu-cpc/hooks/033-disk-image-uefi.binary | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/live-build/ubuntu-cpc/hooks/033-disk-image-uefi.binary b/live-build/ubuntu-cpc/hooks/033-disk-image-uefi.binary index 33a19316..83d90442 100755 --- a/live-build/ubuntu-cpc/hooks/033-disk-image-uefi.binary +++ b/live-build/ubuntu-cpc/hooks/033-disk-image-uefi.binary @@ -83,8 +83,7 @@ install_grub() { --target=${efi_target} \ --removable \ --uefi-secure-boot \ - --no-nvram \ - --modules="${grub_modules}" + --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