Send patches - preferably formatted by git format-patch - to patches at archlinux32 dot org.
summaryrefslogtreecommitdiff
path: root/archinstall/lib
diff options
context:
space:
mode:
authorAnton Hvornum <anton.feeds+github@gmail.com>2020-12-07 19:22:48 +0100
committerAnton Hvornum <anton.feeds+github@gmail.com>2020-12-07 19:22:48 +0100
commitc3336dcb7057e365af68813bd840c6fdee2945f3 (patch)
tree207a0addfaa3ae44f887895ca03d8b8f58ad9838 /archinstall/lib
parentfb429fc866c129449f105b7ecbecd54ea5065a4c (diff)
Added some more log output regarding fstab.
Diffstat (limited to 'archinstall/lib')
-rw-r--r--archinstall/lib/installer.py6
1 files changed, 5 insertions, 1 deletions
diff --git a/archinstall/lib/installer.py b/archinstall/lib/installer.py
index 9d581d75..e566e308 100644
--- a/archinstall/lib/installer.py
+++ b/archinstall/lib/installer.py
@@ -79,7 +79,7 @@ class Installer():
raise args[1]
self.genfstab()
-
+
if not (missing_steps := self.post_install_check()):
self.log('Installation completed without any errors. You may now reboot.', bg='black', fg='green', level=LOG_LEVELS.Info)
return True
@@ -116,9 +116,13 @@ class Installer():
return use_mirrors(mirrors, destination=f'{self.mountpoint}/etc/pacman.d/mirrorlist')
def genfstab(self, flags='-pU'):
+ self.log(f"Updating {self.mountpoint}/etc/fstab")
+
o = b''.join(sys_command(f'/usr/bin/genfstab {flags} {self.mountpoint} >> {self.mountpoint}/etc/fstab'))
+
if not os.path.isfile(f'{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
def set_hostname(self, hostname=None, *args, **kwargs):