aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rwxr-xr-xshare/hydractl/provision3
1 files changed, 2 insertions, 1 deletions
diff --git a/share/hydractl/provision b/share/hydractl/provision
index 14a647d..ffbcce8 100755
--- a/share/hydractl/provision
+++ b/share/hydractl/provision
@@ -480,8 +480,9 @@ hydra_sudo_run chroot $WORK update-initramfs -u
# Grub.
if [ "$grub" == "y" ]; then
+ echo "Boot device setup..."
+
if [ "$encrypt" != "y" ]; then
- echo "Boot device setup..."
hydra_sudo_run mkfs.ext4 $boot_device
hydra_sudo_run mount $boot_device $WORK/boot
echo "$reboot_device /boot ext4 defaults,errors=remount-ro 0 2" | $SUDO tee -a $WORK/etc/fstab > /dev/null