fix -F -> -f for mkfs.btrfs

This commit is contained in:
askiiart 2024-10-07 19:04:20 -05:00
parent 85dbad5f85
commit e9ddac26dd
Signed by untrusted user who does not match committer: askiiart
GPG key ID: EA85979611654C30

View file

@ -176,7 +176,7 @@ def inst_partition(config):
exec(['cryptsetup', 'open', root_partition, 'new_root', '-'], input=f'{password}\n')
root_partition = '/dev/mapper/new_root'
# Format root partition
exec(['mkfs.btrfs', '-F', root_partition])
exec(['mkfs.btrfs', '-f', root_partition])
# Mount partitions
mount(root_partition, '/mnt')
mkdir('/mnt/boot')
@ -194,7 +194,7 @@ def inst_partition(config):
exec(['cryptsetup', 'open', root_partition, 'new_root', '-'], input=f'{password}\n')
root_partition = '/dev/mapper/new_root'
# Format root partition
exec(['mkfs.btrfs', '-F', root_partition])
exec(['mkfs.btrfs', '-f', root_partition])
# Mount partitions
mount(root_partition, '/mnt')
mkdir('/mnt/boot')