Don't reference dropped grub_modules variable in grub-install command

This commit is contained in:
Steve Langasek 2017-08-25 11:18:19 -07:00
parent a6ef49ccd8
commit b1432b36be

View File

@ -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