mirror of
https://git.launchpad.net/livecd-rootfs
synced 2025-05-19 06:41:33 +00:00
Don't reference dropped grub_modules variable in grub-install command
This commit is contained in:
parent
a6ef49ccd8
commit
b1432b36be
@ -83,8 +83,7 @@ install_grub() {
|
|||||||
--target=${efi_target} \
|
--target=${efi_target} \
|
||||||
--removable \
|
--removable \
|
||||||
--uefi-secure-boot \
|
--uefi-secure-boot \
|
||||||
--no-nvram \
|
--no-nvram
|
||||||
--modules="${grub_modules}"
|
|
||||||
|
|
||||||
if [ -f mountpoint/boot/efi/EFI/BOOT/grub.cfg ]; then
|
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 "s| root| root hd0,gpt1|" mountpoint/boot/efi/EFI/BOOT/grub.cfg
|
||||||
|
Loading…
x
Reference in New Issue
Block a user