Fix issues with parted-2

This commit is contained in:
Eric Renfro 2024-08-01 16:16:48 -04:00
parent 0ceebb97d9
commit f1a06c7818
Signed by: psi-jack
SSH key fingerprint: SHA256:1TKB8Z257L8EHK8GWNxKgMhD8a+FAR+f+j3nnlcuNVM

View file

@ -104,10 +104,10 @@ function prepare_format() {
if [[ "$ENCRYPTION" ]]; then
echo "Formatting Root: /dev/mapper/luksvol"
${cmd} mkfs.btrfs -L "System" /dev/mapper/luksvol
${cmd} mkfs.btrfs -f -L "System" /dev/mapper/luksvol
else
echo "Formatting Root: $RootPart"
${cmd} mkfs.btrfs -L "System" "$RootPart"
${cmd} mkfs.btrfs -f -L "System" "$RootPart"
fi
}