index : archinstall32 | |
Archlinux32 installer | gitolite user |
summaryrefslogtreecommitdiff |
author | Anton Hvornum <anton.feeds@gmail.com> | 2019-06-09 22:13:45 +0200 |
---|---|---|
committer | Anton Hvornum <anton.feeds@gmail.com> | 2019-06-09 22:13:45 +0200 |
commit | 27c630dc82aa0726c612eb170537e9f896eb66fb (patch) | |
tree | 1b28a4714f437337f7f3d5d868e0e4574ae7974a /archinstall.py | |
parent | f1e1af45576e9b70600ee841f177448de6912575 (diff) |
-rw-r--r-- | archinstall.py | 3 |
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: |