Moved genfstab() to guided.py instead of __exit__ of Installer(). This is a breaking change.
This commit is contained in:
parent
7daf9b32d0
commit
0601956b5b
|
|
@ -158,8 +158,6 @@ class Installer:
|
||||||
print(_(" Please submit this issue (and file) to https://github.com/archlinux/archinstall/issues"))
|
print(_(" Please submit this issue (and file) to https://github.com/archlinux/archinstall/issues"))
|
||||||
raise args[1]
|
raise args[1]
|
||||||
|
|
||||||
self.genfstab()
|
|
||||||
|
|
||||||
if not (missing_steps := self.post_install_check()):
|
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.log('Installation completed without any errors. You may now reboot.', fg='green', level=logging.INFO)
|
||||||
self.sync_log_to_install_medium()
|
self.sync_log_to_install_medium()
|
||||||
|
|
|
||||||
|
|
@ -253,6 +253,8 @@ def perform_installation(mountpoint):
|
||||||
if archinstall.arguments.get('custom-commands', None):
|
if archinstall.arguments.get('custom-commands', None):
|
||||||
archinstall.run_custom_user_commands(archinstall.arguments['custom-commands'], installation)
|
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")
|
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'):
|
if not archinstall.arguments.get('silent'):
|
||||||
prompt = str(_('Would you like to chroot into the newly created installation and perform post-installation configuration?'))
|
prompt = str(_('Would you like to chroot into the newly created installation and perform post-installation configuration?'))
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue