Added more debugging
This commit is contained in:
parent
45d37ad58d
commit
15b1fb26ce
|
|
@ -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'),
|
||||
|
|
|
|||
|
|
@ -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():
|
||||
|
|
|
|||
Loading…
Reference in New Issue