Send patches - preferably formatted by git format-patch - to patches at archlinux32 dot org.
summaryrefslogtreecommitdiff
path: root/archinstall
diff options
context:
space:
mode:
authorAnton Hvornum <anton.feeds@gmail.com>2021-03-09 12:02:14 +0100
committerAnton Hvornum <anton.feeds@gmail.com>2021-03-09 12:02:14 +0100
commit747d620596c41094a66a8ae1e39104bc05d90846 (patch)
tree03e56110e3fb64434b57155f951a8eb0f2c2e077 /archinstall
parent3bf8ba081967a041f3552b68efff84340edb5138 (diff)
Added some debugging.
Diffstat (limited to 'archinstall')
-rw-r--r--archinstall/lib/disk.py2
1 files changed, 2 insertions, 0 deletions
diff --git a/archinstall/lib/disk.py b/archinstall/lib/disk.py
index 3f51733a..f78907d7 100644
--- a/archinstall/lib/disk.py
+++ b/archinstall/lib/disk.py
@@ -189,8 +189,10 @@ class Partition():
raise DiskError(f'Could not find appropriate parent for encrypted partition {self}')
def detect_inner_filesystem(self, password):
+ log(f'Trying to detect inner filesystem format on {self} (This might take a while)', level=LOG_LEVELS.Info)
from .luks import luks2
with luks2(self, 'luksloop', password, auto_unmount=True) as unlocked_device:
+ print('Found:', unlocked_device.filesystem)
return unlocked_device.filesystem
def has_content(self):