Send patches - preferably formatted by git format-patch - to patches at archlinux32 dot org.
summaryrefslogtreecommitdiff
path: root/archinstall
diff options
context:
space:
mode:
authorAnton Hvornum <anton.feeds+github@gmail.com>2020-12-07 16:42:08 +0100
committerAnton Hvornum <anton.feeds+github@gmail.com>2020-12-07 16:42:08 +0100
commit67ce208d25953a0b251eb1109bde592988502544 (patch)
tree376e087315a97208c67c6fa7d3d872de7000d3c9 /archinstall
parent63c6e0464b7915fcc107ffe50247aa86e706315a (diff)
Debugging
Diffstat (limited to 'archinstall')
-rw-r--r--archinstall/lib/installer.py7
1 files changed, 4 insertions, 3 deletions
diff --git a/archinstall/lib/installer.py b/archinstall/lib/installer.py
index 81c8b3a7..01e73186 100644
--- a/archinstall/lib/installer.py
+++ b/archinstall/lib/installer.py
@@ -94,7 +94,7 @@ class Installer():
os.makedirs(f'{self.mountpoint}/srv/http')
partition.mount(f'{self.mountpoint}/srv/http')
- self.genfstab(output='>') # Replace any existing entries
+ self.genfstab(output_operator='>') # Replace any existing entries
def post_install_check(self, *args, **kwargs):
return [step for step, flag in self.helper_flags.items() if flag is False]
@@ -114,9 +114,10 @@ class Installer():
def set_mirrors(self, mirrors):
return use_mirrors(mirrors, destination=f'{self.mountpoint}/etc/pacman.d/mirrorlist')
- def genfstab(self, flags='-pU', output='>>'):
- o = b''.join(sys_command(f'/usr/bin/genfstab {flags} {self.mountpoint} {output} {self.mountpoint}/etc/fstab'))
+ def genfstab(self, flags='-pU', output_operator='>>'):
+ o = b''.join(sys_command(f'/usr/bin/genfstab {flags} {self.mountpoint} {output_operator} {self.mountpoint}/etc/fstab'))
if not os.path.isfile(f'{self.mountpoint}/etc/fstab'):
+ print(f'/usr/bin/genfstab {flags} {self.mountpoint} {output_operator} {self.mountpoint}/etc/fstab')
raise RequirementError(f'Could not generate fstab, strapping in packages most likely failed (disk out of space?)\n{o}')
return True