From 6b570b62c2556932451f404f62cd31068dd1a3b0 Mon Sep 17 00:00:00 2001 From: Anton Hvornum Date: Tue, 19 Nov 2019 01:06:23 +0000 Subject: Removed some debugging --- archinstall.py | 4 +--- 1 file changed, 1 insertion(+), 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') -- cgit v1.2.3-70-g09d2