index : archinstall32 | |
Archlinux32 installer | gitolite user |
summaryrefslogtreecommitdiff |
author | Anton Hvornum <anton.feeds+github@gmail.com> | 2020-07-08 15:15:53 +0000 |
---|---|---|
committer | Anton Hvornum <anton.feeds+github@gmail.com> | 2020-07-08 15:15:53 +0000 |
commit | 46c8e74a7311dc11ebf8911acbc29fbb6e1bc45a (patch) | |
tree | 6cc9b3058c96ce2c0071a7c951d5a643239d633b /archinstall/lib/luks.py | |
parent | 24a384cddbd35d658f2951c861d12898ddee04b3 (diff) |
-rw-r--r-- | archinstall/lib/luks.py | 2 |
diff --git a/archinstall/lib/luks.py b/archinstall/lib/luks.py index 71e634e1..e56f3bd2 100644 --- a/archinstall/lib/luks.py +++ b/archinstall/lib/luks.py @@ -46,7 +46,7 @@ class luks2(): if '/' in mountpoint: os.path.basename(mountpoint) # TODO: Raise exception instead? sys_command(f'/usr/bin/cryptsetup open {partition.path} {mountpoint} --key-file {os.path.abspath(key_file)} --type luks2') if os.path.islink(f'/dev/mapper/{mountpoint}'): - return Partition(f'/dev/mapper/{mountpoint}') + return Partition(f'/dev/mapper/{mountpoint}', encrypted=True) def close(self, mountpoint): sys_command(f'cryptsetup close /dev/mapper/{mountpoint}') |