Moved genfstab() to guided.py instead of __exit__ of Installer(). This is a breaking change.

This commit is contained in:
Anton Hvornum 2022-05-29 09:44:31 +02:00
parent 7daf9b32d0
commit 0601956b5b
No known key found for this signature in database
GPG Key ID: F1234C5BA67C59DF
2 changed files with 2 additions and 2 deletions

View File

@ -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()

View File

@ -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?'))