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-20 16:20:58 +0000
committerAnton Hvornum <anton.feeds@gmail.com>2019-06-20 16:20:58 +0000
commit6dacf539c945dcaae488f6bfd6c1ad4d8a877090 (patch)
tree4a503a71f83790bbaa7127b4b1b2d75cec0e4d7d
parentaa2871f3f6423bbdb2e07ca75d79df283ee5e48b (diff)
Added a rerun feature. So we don't have to wait for pacstrap every debug run :P
-rw-r--r--archinstall.py10
1 files changed, 5 insertions, 5 deletions
diff --git a/archinstall.py b/archinstall.py
index 57abbb61..df255b02 100644
--- a/archinstall.py
+++ b/archinstall.py
@@ -554,11 +554,11 @@ if __name__ == '__main__':
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))
+ args['partition_{}'.format(index+1)] = part_name
+ print(f'Partition info: {part_name}')
+ print(json.dumps(args['paritions'][part_name], indent=4))
- if not args['rerun']:
+ if not args['rerun']:
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:
print('[E] Could not setup {drive}{partition_1}'.format(**args), o)
@@ -695,7 +695,7 @@ if __name__ == '__main__':
continue
else:
rerun = True
-
+
print('[N] Network Deploy: {}'.format(title))
if type(conf[title]) == str:
print('[N] Loading {} configuration'.format(conf[title]))