fix -F -> -f for mkfs.btrfs
This commit is contained in:
parent
85dbad5f85
commit
e9ddac26dd
1 changed files with 2 additions and 2 deletions
|
@ -176,7 +176,7 @@ def inst_partition(config):
|
||||||
exec(['cryptsetup', 'open', root_partition, 'new_root', '-'], input=f'{password}\n')
|
exec(['cryptsetup', 'open', root_partition, 'new_root', '-'], input=f'{password}\n')
|
||||||
root_partition = '/dev/mapper/new_root'
|
root_partition = '/dev/mapper/new_root'
|
||||||
# Format root partition
|
# Format root partition
|
||||||
exec(['mkfs.btrfs', '-F', root_partition])
|
exec(['mkfs.btrfs', '-f', root_partition])
|
||||||
# Mount partitions
|
# Mount partitions
|
||||||
mount(root_partition, '/mnt')
|
mount(root_partition, '/mnt')
|
||||||
mkdir('/mnt/boot')
|
mkdir('/mnt/boot')
|
||||||
|
@ -194,7 +194,7 @@ def inst_partition(config):
|
||||||
exec(['cryptsetup', 'open', root_partition, 'new_root', '-'], input=f'{password}\n')
|
exec(['cryptsetup', 'open', root_partition, 'new_root', '-'], input=f'{password}\n')
|
||||||
root_partition = '/dev/mapper/new_root'
|
root_partition = '/dev/mapper/new_root'
|
||||||
# Format root partition
|
# Format root partition
|
||||||
exec(['mkfs.btrfs', '-F', root_partition])
|
exec(['mkfs.btrfs', '-f', root_partition])
|
||||||
# Mount partitions
|
# Mount partitions
|
||||||
mount(root_partition, '/mnt')
|
mount(root_partition, '/mnt')
|
||||||
mkdir('/mnt/boot')
|
mkdir('/mnt/boot')
|
||||||
|
|
Loading…
Reference in a new issue