fix: skip checks on for dev with virtual mapping

master
phga 3 years ago
parent ee3c15829d
commit de785c5d5f
Signed by: phga
GPG Key ID: 5249548AA705F019

@ -84,11 +84,12 @@ EOF
[ $MODE == "NVME" ] && suffix="p" || suffix=""
mkfs.fat -F 32 -n P_EFI "/dev/$DEV$suffix1"
if [ "$ENC" == true ]; then
mkfs.fat -I -F 32 -n P_EFI "/dev/$DEV$suffix1" # -I bc of virtual mappings
crypt_create_fs "/dev/$DEV$suffix3"
mkfs.ext2 -L cryptswap "/dev/$DEV$suffixp2" 1M # Otherwise label will be lost after reboot
else
mkfs.fat -F 32 -n P_EFI "/dev/$DEV$suffix1" # -I bc of virtual mappings
mkfs.ext4 -L P_ROOT "/dev/$DEV$suffix3"
mkswap -L P_SWAP "/dev/$DEV$suffix2"
fi

Loading…
Cancel
Save