Send patches - preferably formatted by git format-patch - to patches at archlinux32 dot org.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAnton Hvornum <anton.feeds+github@gmail.com>2019-11-19 01:06:23 +0000
committerAnton Hvornum <anton.feeds+github@gmail.com>2019-11-19 01:06:23 +0000
commit6b570b62c2556932451f404f62cd31068dd1a3b0 (patch)
tree3eaac64c58a09841bd48c1d05885073c01a2523d
parent86847d6dc17d83549be19b0cf54bda4711ceccec (diff)
Removed some debugging
-rw-r--r--archinstall.py4
1 files changed, 1 insertions, 3 deletions
diff --git a/archinstall.py b/archinstall.py
index 4f2dc19a..83193aa7 100644
--- a/archinstall.py
+++ b/archinstall.py
@@ -622,7 +622,6 @@ def format_disk(drive='drive', start='start', end='size', emulate=False, *positi
end = args[end]
if not drive:
raise ValueError('Need to supply a drive path, for instance: /dev/sdx')
- print(f'[N] Setting up {drive}.')
# dd if=/dev/random of=args['drive'] bs=4096 status=progress
# https://github.com/dcantrell/pyparted would be nice, but isn't officially in the repo's #SadPanda
if sys_command(f'/usr/bin/parted -s {drive} mklabel gpt', emulate=emulate, *positionals, **kwargs).exit_code != 0:
@@ -914,8 +913,6 @@ def strap_in_base(*positionals, **kwargs):
args['packages'] += ' git'
if sys_command('/usr/bin/pacman -Syy', *positionals, **kwargs).exit_code == 0:
x = sys_command('/usr/bin/pacstrap /mnt base base-devel linux linux-firmware btrfs-progs efibootmgr nano wpa_supplicant dialog {packages}'.format(**args), *positionals, **kwargs)
- print(x)
- print(x.exit_code)
if x.exit_code == 0:
return True
return False
@@ -1134,6 +1131,7 @@ if __name__ == '__main__':
time.sleep(1)
close_disks()
+ print(f'[N] Setting up {drive}.')
format_disk('drive', start='start', end='size')
refresh_partition_list('drive')