aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSilvio Rhatto <rhatto@riseup.net>2022-01-25 18:54:57 -0300
committerSilvio Rhatto <rhatto@riseup.net>2022-01-25 18:54:57 -0300
commit91491219056d4cffe0373ccedfd6b1ccce4f0809 (patch)
tree64979d7292d98658e29f37cd88e072ef87ce91f4
parent43c95d9908cd44b6e5a59ce3523e59c7f88b65c3 (diff)
downloadhydra-91491219056d4cffe0373ccedfd6b1ccce4f0809.tar.gz
hydra-91491219056d4cffe0373ccedfd6b1ccce4f0809.tar.bz2
Fix: provision: minor grub fixes
-rwxr-xr-xshare/hydractl/provision4
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 \