Moved --noconfirm at the end of the pacstrap command to get piped properly to pacman inside pacstrap.
This commit is contained in:
parent
e0f00ad1fe
commit
6d2a2f327c
|
|
@ -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")
|
||||
|
|
|
|||
Loading…
Reference in New Issue