From 9c7f689dd620739062b8248bc9798a522fc4c7e2 Mon Sep 17 00:00:00 2001 From: Anton Hvornum Date: Sun, 7 Feb 2021 13:29:33 +0100 Subject: Can't unmount during startup if we want to support existing partitioning schemes. --- examples/guided.py | 5 ----- 1 file changed, 5 deletions(-) (limited to 'examples') diff --git a/examples/guided.py b/examples/guided.py index 5268042d..a5298328 100644 --- a/examples/guided.py +++ b/examples/guided.py @@ -75,11 +75,6 @@ def perform_installation(device, boot_partition, language, mirrors): if 'root_pw' in archinstall.storage['_guided_hidden'] and archinstall.storage['_guided_hidden']['root_pw']: installation.user_set_pw('root', archinstall.storage['_guided_hidden']['root_pw']) -# Unmount and close previous runs (in case the installer is restarted) -archinstall.sys_command(f'umount -R /mnt', suppress_errors=True) -archinstall.sys_command(f'cryptsetup close /dev/mapper/luksloop', suppress_errors=True) - - """ First, we'll ask the user for a bunch of user input. Not until we're satisfied with what we want to install -- cgit v1.2.3-54-g00ecf