aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSilvio Rhatto <rhatto@riseup.net>2022-01-25 11:32:24 -0300
committerSilvio Rhatto <rhatto@riseup.net>2022-01-25 11:32:24 -0300
commit4f02b768b513d148a18370af42309ad190d67d5f (patch)
treeffc7a0d3cdaa9d2ad3f40fb9f09b1092e421bd3f
parent4829ffd12c7ce0ba27acd7346200138a58878e87 (diff)
downloadhydra-4f02b768b513d148a18370af42309ad190d67d5f.tar.gz
hydra-4f02b768b513d148a18370af42309ad190d67d5f.tar.bz2
Fix: provision: umount ESP partition
-rwxr-xr-xshare/hydractl/provision4
1 files changed, 4 insertions, 0 deletions
diff --git a/share/hydractl/provision b/share/hydractl/provision
index f2c468c..3e7ad39 100755
--- a/share/hydractl/provision
+++ b/share/hydractl/provision
@@ -773,6 +773,10 @@ fi
echo "Umounting installation device..."
+if [ "$boot_mode" == "uefi" ]; then
+ hydra_sudo_run umount $WORK/boot/efi
+fi
+
if [ "$grub" == "y" ] && [ "$encrypt" != "y" ]; then
hydra_sudo_run umount $WORK/boot
fi