diff options
author | Silvio Rhatto <rhatto@riseup.net> | 2022-01-25 18:54:57 -0300 |
---|---|---|
committer | Silvio Rhatto <rhatto@riseup.net> | 2022-01-25 18:54:57 -0300 |
commit | 91491219056d4cffe0373ccedfd6b1ccce4f0809 (patch) | |
tree | 64979d7292d98658e29f37cd88e072ef87ce91f4 /share/hydractl/provision | |
parent | 43c95d9908cd44b6e5a59ce3523e59c7f88b65c3 (diff) | |
download | hydra-91491219056d4cffe0373ccedfd6b1ccce4f0809.tar.gz hydra-91491219056d4cffe0373ccedfd6b1ccce4f0809.tar.bz2 |
Fix: provision: minor grub fixes
Diffstat (limited to 'share/hydractl/provision')
-rwxr-xr-x | share/hydractl/provision | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/share/hydractl/provision b/share/hydractl/provision index 02aa4d0..bd9303b 100755 --- a/share/hydractl/provision +++ b/share/hydractl/provision @@ -706,7 +706,7 @@ EOF cat <<-EOF | $SUDO tee $WORK/etc/default/grub.d/fde.cfg > /dev/null # Full Disk Encryption Support GRUB_ENABLE_CRYPTODISK="y" -GRUB_PRELOAD_MODULES="lvm cryptodisk mdraid1x" +GRUB_PRELOAD_MODULES="lvm crypto cryptodisk luks mdraid1x" EOF hydra_sudo_run chroot $WORK/ update-grub @@ -719,7 +719,7 @@ EOF if [ "$boot_mode" == "bios" ]; then hydra_sudo_run chroot $WORK/ grub-install --recheck --force $device else - grub_opts"$grub_uefi_nvram $grub_uefi_secure_boot --bootloader-id=GRUB" + grub_opts="$grub_uefi_nvram $grub_uefi_secure_boot --bootloader-id=GRUB" hydra_sudo_run chroot $WORK/ grub-install --target=${grub_arch}-efi \ --efi-directory=/boot/efi \ |