Send patches - preferably formatted by git format-patch - to patches at archlinux32 dot org.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAnton Hvornum <anton.feeds@gmail.com>2019-06-09 22:13:45 +0200
committerAnton Hvornum <anton.feeds@gmail.com>2019-06-09 22:13:45 +0200
commit27c630dc82aa0726c612eb170537e9f896eb66fb (patch)
tree1b28a4714f437337f7f3d5d868e0e4574ae7974a
parentf1e1af45576e9b70600ee841f177448de6912575 (diff)
Modified partition debug output to not fool which order they come in
-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: