From 46c8e74a7311dc11ebf8911acbc29fbb6e1bc45a Mon Sep 17 00:00:00 2001 From: Anton Hvornum Date: Wed, 8 Jul 2020 15:15:53 +0000 Subject: Trying to sort out a boot issue --- archinstall/lib/luks.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'archinstall/lib/luks.py') 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}') -- cgit v1.2.3-54-g00ecf