From 0601956b5bdf27ec497a94e7313ea22cf21ecbe0 Mon Sep 17 00:00:00 2001 From: Anton Hvornum Date: Sun, 29 May 2022 09:44:31 +0200 Subject: [PATCH] Moved genfstab() to guided.py instead of __exit__ of Installer(). This is a breaking change. --- archinstall/lib/installer.py | 2 -- examples/guided.py | 2 ++ 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/archinstall/lib/installer.py b/archinstall/lib/installer.py index 7af6006f..7e66559f 100644 --- a/archinstall/lib/installer.py +++ b/archinstall/lib/installer.py @@ -158,8 +158,6 @@ class Installer: print(_(" Please submit this issue (and file) to https://github.com/archlinux/archinstall/issues")) raise args[1] - self.genfstab() - if not (missing_steps := self.post_install_check()): self.log('Installation completed without any errors. You may now reboot.', fg='green', level=logging.INFO) self.sync_log_to_install_medium() diff --git a/examples/guided.py b/examples/guided.py index 19b0d638..635baf6a 100644 --- a/examples/guided.py +++ b/examples/guided.py @@ -253,6 +253,8 @@ def perform_installation(mountpoint): if archinstall.arguments.get('custom-commands', None): archinstall.run_custom_user_commands(archinstall.arguments['custom-commands'], installation) + installation.genfstab() + installation.log("For post-installation tips, see https://wiki.archlinux.org/index.php/Installation_guide#Post-installation", fg="yellow") if not archinstall.arguments.get('silent'): prompt = str(_('Would you like to chroot into the newly created installation and perform post-installation configuration?'))