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>2021-09-14 11:47:16 +0000
committerAnton Hvornum <anton.feeds@gmail.com>2021-09-14 11:47:16 +0000
commit6d2a2f327c874f38233d6f52bc27d5678586567a (patch)
tree7b39c5d7383123d989b665b0680b54aa0fbdebdb
parente0f00ad1feb2956cf70d1eb46d8be2b58017cd16 (diff)
Moved --noconfirm at the end of the pacstrap command to get piped properly to pacman inside pacstrap.
-rw-r--r--archinstall/lib/installer.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/archinstall/lib/installer.py b/archinstall/lib/installer.py
index 1ade75b3..62dc933d 100644
--- a/archinstall/lib/installer.py
+++ b/archinstall/lib/installer.py
@@ -163,7 +163,7 @@ class Installer:
self.log(f'Installing packages: {packages}', level=logging.INFO)
if (sync_mirrors := SysCommand('/usr/bin/pacman -Syy')).exit_code == 0:
- if (pacstrap := SysCommand(f'/usr/bin/pacstrap --noconfirm {self.target} {" ".join(packages)}', peak_output=True)).exit_code == 0:
+ if (pacstrap := SysCommand(f'/usr/bin/pacstrap {self.target} {" ".join(packages)} --noconfirm', peak_output=True)).exit_code == 0:
return True
else:
self.log(f'Could not strap in packages: {pacstrap}', level=logging.ERROR, fg="red")