Send patches - preferably formatted by git format-patch - to patches at archlinux32 dot org.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--archinstall.py3
1 files changed, 2 insertions, 1 deletions
diff --git a/archinstall.py b/archinstall.py
index be480355..8c3bc84d 100644
--- a/archinstall.py
+++ b/archinstall.py
@@ -535,13 +535,14 @@ if __name__ == '__main__':
args['paritions'] = grab_partitions(args['drive'])
print(f'Partitions: (Boot: {list(args["paritions"].keys())[0]})')
- print(json.dumps(args['paritions'], indent=4))
if len(args['paritions']) <= 0:
print('[E] No paritions were created on {drive}'.format(**args), o)
exit(1)
for index, part_name in enumerate(sorted(args['paritions'].keys())):
args['partition_{}'.format(index+1)] = part_name
+ print(f'Partition info: {part_name}')
+ print(json.dumps(args['paritions'][part_name], indent=4))
o = b''.join(sys_command('/usr/bin/mkfs.vfat -F32 {drive}{partition_1}'.format(**args)).exec())
if (b'mkfs.fat' not in o and b'mkfs.vfat' not in o) or b'command not found' in o: