Fix /boot mounts mess (part 2: /boot dependency)

This commit is contained in:
Saverio Miroddi 2021-06-14 12:25:11 +02:00
parent ca843f1b15
commit e93521b330

View File

@ -1385,7 +1385,7 @@ function prepare_fstab {
local mountpoint=/boot/efi$((i + 1))
fi
chroot_execute "echo /dev/disk/by-uuid/$(blkid -s UUID -o value "${v_selected_disks[i]}"-part1) $mountpoint vfat nofail,x-systemd.device-timeout=10 0 0 >> /etc/fstab"
chroot_execute "echo /dev/disk/by-uuid/$(blkid -s UUID -o value "${v_selected_disks[i]}"-part1) $mountpoint vfat nofail,x-systemd.requires=zfs-mount.service,x-systemd.device-timeout=10 0 0 >> /etc/fstab"
done
if (( v_swap_size > 0 )); then