Send patches - preferably formatted by git format-patch - to patches at archlinux32 dot org.
summaryrefslogtreecommitdiff
path: root/archinstall/lib
diff options
context:
space:
mode:
authorAnton Hvornum <anton.feeds@gmail.com>2021-03-09 11:38:36 +0100
committerAnton Hvornum <anton.feeds@gmail.com>2021-03-09 11:38:36 +0100
commit3b849ca07462dd80734373b3428cd0e128812f60 (patch)
treee82b499f87b454110a6475accb040338e15b79c8 /archinstall/lib
parent6680f744624af5b0be746525ea4ba4bbcf44401d (diff)
Debugging some tweaks
Diffstat (limited to 'archinstall/lib')
-rw-r--r--archinstall/lib/disk.py7
1 files changed, 2 insertions, 5 deletions
diff --git a/archinstall/lib/disk.py b/archinstall/lib/disk.py
index 32dbcbc2..335ec42e 100644
--- a/archinstall/lib/disk.py
+++ b/archinstall/lib/disk.py
@@ -157,10 +157,7 @@ class Partition():
self.filesystem = fstype
if self.filesystem == 'crypto_LUKS':
- # TODO: Explore other options in terms of handling a two-layer filesystem option.
- # Currently if we keep crypto_LUKS then the installer won't know what to format inside.
self.encrypted = True
- self.filesystem = None
def __lt__(self, left_comparitor):
if type(left_comparitor) == Partition:
@@ -275,11 +272,11 @@ class Partition():
raise DiskError(f'Could not format {path} with {filesystem} because: {b"".join(handle)}')
self.filesystem = 'f2fs'
- #elif filesystem == 'crypto_LUKS':
+ elif filesystem == 'crypto_LUKS':
# from .luks import luks2
# encrypted_partition = luks2(self, None, None)
# encrypted_partition.format(path)
- # self.filesystem = 'crypto_LUKS'
+ self.filesystem = 'crypto_LUKS'
else:
raise UnknownFilesystemFormat(f"Fileformat '{filesystem}' is not yet implemented.")