index : archinstall32 | |
Archlinux32 installer | gitolite user |
summaryrefslogtreecommitdiff |
author | Anton Hvornum <anton.feeds+github@gmail.com> | 2019-11-19 01:06:23 +0000 |
---|---|---|
committer | Anton Hvornum <anton.feeds+github@gmail.com> | 2019-11-19 01:06:23 +0000 |
commit | 6b570b62c2556932451f404f62cd31068dd1a3b0 (patch) | |
tree | 3eaac64c58a09841bd48c1d05885073c01a2523d | |
parent | 86847d6dc17d83549be19b0cf54bda4711ceccec (diff) |
-rw-r--r-- | archinstall.py | 4 |
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') |