Send patches - preferably formatted by git format-patch - to patches at archlinux32 dot org.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAnton Hvornum <anton@hvornum.se>2021-03-29 18:10:02 +0200
committerAnton Hvornum <anton@hvornum.se>2021-03-29 18:10:02 +0200
commit8c8a441c2627a180671eb7fcd95b3a0f8d0a102e (patch)
treebc1ce947951032eee544c1f32ad66f7b073c71fa
parent1b903550b588d1ade90eae034b757e2950398550 (diff)
Added some debugging.
-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