Send patches - preferably formatted by git format-patch - to patches at archlinux32 dot org.
summaryrefslogtreecommitdiff
path: root/examples
diff options
context:
space:
mode:
authorAnton Hvornum <anton@hvornum.se>2021-02-07 13:29:33 +0100
committerAnton Hvornum <anton@hvornum.se>2021-02-07 13:29:33 +0100
commit9c7f689dd620739062b8248bc9798a522fc4c7e2 (patch)
treee1cfa7738c27d8889960f1ad54433c42a447d650 /examples
parente06603f0e143360ccb932ce39df37eac22969f90 (diff)
Can't unmount during startup if we want to support existing partitioning schemes.
Diffstat (limited to 'examples')
-rw-r--r--examples/guided.py5
1 files changed, 0 insertions, 5 deletions
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