Attempting to correct some inconsitencies in disk-parent reporting.

This commit is contained in:
Anton Hvornum 2021-04-09 22:58:41 +02:00
parent 8f096001b6
commit c7b2133376
No known key found for this signature in database
GPG Key ID: F1234C5BA67C59DF
1 changed files with 1 additions and 1 deletions

View File

@ -283,7 +283,7 @@ class Installer():
if '/usr/bin/btrfs-progs' not in BINARIES:
BINARIES.append('/usr/bin/btrfs')
elif (partition.encrypted or Partition(partition.parent, None).filesystem == 'crypto_LUKS'):
if (partition.encrypted or Partition(partition.parent, None, autodetect_filesystem=True).filesystem == 'crypto_LUKS'):
if 'encrypt' not in HOOKS:
HOOKS.insert(HOOKS.find('filesystems'), 'encrypt')