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>2020-07-08 16:28:25 +0000
committerAnton Hvornum <anton.feeds+github@gmail.com>2020-07-08 16:28:25 +0000
commita8b2e9d80bbba0f86bf4bcae718d6e45f9dafbec (patch)
tree6572e09ee68abca886dda2d880eea13cd0365eeb
parent27d0da9b3008e7291fd4becfe7ecdcaeb7087c09 (diff)
Added debug to pacstrap of base and linux
-rw-r--r--archinstall/lib/installer.py6
-rw-r--r--setup.py2
2 files changed, 4 insertions, 4 deletions
diff --git a/archinstall/lib/installer.py b/archinstall/lib/installer.py
index 0a1fb784..e68c57cb 100644
--- a/archinstall/lib/installer.py
+++ b/archinstall/lib/installer.py
@@ -26,12 +26,12 @@ class Installer():
log('Installation completed without any errors.', bg='black', fg='green')
return True
- def pacstrap(self, *packages):
+ def pacstrap(self, *packages, **kwargs):
if type(packages[0]) in (list, tuple): packages = packages[0]
log(f'Installing packages: {packages}')
if (sync_mirrors := sys_command('/usr/bin/pacman -Syy')).exit_code == 0:
- if (pacstrap := sys_command(f'/usr/bin/pacstrap {self.mountpoint} {" ".join(packages)}')).exit_code == 0:
+ if (pacstrap := sys_command(f'/usr/bin/pacstrap {self.mountpoint} {" ".join(packages)}', **kwargs)).exit_code == 0:
return True
else:
log(f'Could not strap in packages: {pacstrap.exit_code}')
@@ -39,7 +39,7 @@ class Installer():
log(f'Could not sync mirrors: {sync_mirrors.exit_code}')
def minimal_installation(self):
- return self.pacstrap('base base-devel linux linux-firmware btrfs-progs efibootmgr nano wpa_supplicant dialog'.split(' '))
+ return self.pacstrap('base base-devel linux linux-firmware btrfs-progs efibootmgr nano wpa_supplicant dialog'.split(' '), debug=True)
def add_bootloader(self, boot_partition):
log(f'Adding bootloader to {boot_partition}')
diff --git a/setup.py b/setup.py
index c97fb901..a4761819 100644
--- a/setup.py
+++ b/setup.py
@@ -5,7 +5,7 @@ with open("README.md", "r") as fh:
setuptools.setup(
name="archinstall",
- version="2.0.3rc13",
+ version="2.0.3rc14",
author="Anton Hvornum",
author_email="anton@hvornum.se",
description="Arch Linux installer - guided, templates etc.",