]> gitweb.fluxo.info Git - hydra.git/commitdiff
Fix: provision: umount ESP partition
authorSilvio Rhatto <rhatto@riseup.net>
Tue, 25 Jan 2022 14:32:24 +0000 (11:32 -0300)
committerSilvio Rhatto <rhatto@riseup.net>
Tue, 25 Jan 2022 14:32:24 +0000 (11:32 -0300)
share/hydractl/provision

index f2c468c869f5f30ae7d71ce0455da3e8f7166043..3e7ad3968555f8d397d9344bd9afea18512ffbd9 100755 (executable)
@@ -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