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 00:11:43 +0000
committerAnton Hvornum <anton.feeds+github@gmail.com>2019-11-19 00:11:43 +0000
commit42676d57877bcccb8e5f2869891a790e94d450a0 (patch)
treec58253be473fedcd83d80673761b54dd2e303a32
parent22698ad65cbd5c24870f0e03eb8b5986ea3f7b88 (diff)
debugging
-rw-r--r--archinstall.py10
1 files changed, 5 insertions, 5 deletions
diff --git a/archinstall.py b/archinstall.py
index d62949ba..26091ea8 100644
--- a/archinstall.py
+++ b/archinstall.py
@@ -891,11 +891,11 @@ def filter_mirrors_by_country(countries, top=10, *positionals, **kwargs):
def strap_in_base(*positionals, **kwargs):
if args['aur-support']:
args['packages'] += ' git'
- x = sys_command('/usr/bin/pacman -Syy', *positionals, **kwargs)
- print('Handle:', x)
- print('Exit code:', x.exit_code, x.exit_code == 0)
- if x.exit_code == 0:
- if sys_command('/usr/bin/pacstrap /mnt base base-devel linux linux-firmware btrfs-progs efibootmgr nano wpa_supplicant dialog {packages}'.format(**args), *positionals, **kwargs).exit_code == 0:
+ 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