Fix issues with parted-2
This commit is contained in:
parent
0ceebb97d9
commit
f1a06c7818
1 changed files with 2 additions and 2 deletions
|
@ -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
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue