From 15b1fb26ced3ee982fdf78766f4b4f21ac9b0b0c Mon Sep 17 00:00:00 2001 From: Anton Hvornum Date: Wed, 9 Feb 2022 11:51:19 +0100 Subject: [PATCH] Added more debugging --- archinstall/lib/disk/filesystem.py | 1 - archinstall/lib/luks.py | 3 ++- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/archinstall/lib/disk/filesystem.py b/archinstall/lib/disk/filesystem.py index 4f1b4217..a225171d 100644 --- a/archinstall/lib/disk/filesystem.py +++ b/archinstall/lib/disk/filesystem.py @@ -83,7 +83,6 @@ class Filesystem: for partition in layout.get('partitions', []): # We don't want to re-add an existing partition (those containing a UUID already) if partition.get('wipe', False) and not partition.get('PARTUUID', None): - print(_("Adding partition....")) start = partition.get('start') or ( prev_partition and f'{prev_partition["device_instance"].end_sectors}s' or DEFAULT_PARTITION_START) partition['device_instance'] = self.add_partition(partition.get('type', 'primary'), diff --git a/archinstall/lib/luks.py b/archinstall/lib/luks.py index d423f662..a8717143 100644 --- a/archinstall/lib/luks.py +++ b/archinstall/lib/luks.py @@ -181,7 +181,8 @@ class luks2: if '/' in mountpoint: os.path.basename(mountpoint) # TODO: Raise exception instead? - cryptworker = SysCommandWorker(f'/usr/bin/cryptsetup open {partition.path} {mountpoint} --type luks2') + print(f"Looking for phrase: 'Enter passphrase for {partition.path}'") + cryptworker = SysCommandWorker(f'/usr/bin/cryptsetup open {partition.path} {mountpoint} --type luks2', peak_output) pw_given = False while cryptworker.is_alive():