Send patches - preferably formatted by git format-patch - to patches at archlinux32 dot org.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--archinstall/lib/disk.py4
1 files changed, 3 insertions, 1 deletions
diff --git a/archinstall/lib/disk.py b/archinstall/lib/disk.py
index 18006311..23fbf621 100644
--- a/archinstall/lib/disk.py
+++ b/archinstall/lib/disk.py
@@ -322,7 +322,9 @@ class Partition():
else:
raise UnknownFilesystemFormat(f"Fileformat '{filesystem}' is not yet implemented.")
- if get_filesystem_type(path) == 'crypto_LUKS':
+ print('Checking if encrypted:', path)
+ print('Also checking:', self.real_device)
+ if get_filesystem_type(path) == 'crypto_LUKS' or get_filesystem_type(self.real_device) == 'crypto_LUKS':
self.encrypted = True
return True