]> gitweb.fluxo.info Git - hydra.git/commitdiff
Provision: move boot dev setup message to the right place
authorSilvio Rhatto <rhatto@riseup.net>
Fri, 17 Aug 2018 20:43:54 +0000 (17:43 -0300)
committerSilvio Rhatto <rhatto@riseup.net>
Fri, 17 Aug 2018 20:43:54 +0000 (17:43 -0300)
share/hydractl/provision

index 14a647d94918ec4b3aa734f5ba279f0e405c68f8..ffbcce8203db24fb7d4184dfa00035b6e7d6ddb5 100755 (executable)
@@ -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