diff --git a/archinstall/lib/disk/mapperdev.py b/archinstall/lib/disk/mapperdev.py index c3f83a77..43248c73 100644 --- a/archinstall/lib/disk/mapperdev.py +++ b/archinstall/lib/disk/mapperdev.py @@ -84,4 +84,4 @@ class MapperDev: def format(self, filesystem :str, options :List[str] = []) -> bool: # TODO: Create a format() helper function rather than relying on a dummy Partition().format() call: - self.partition.format(filesystem=filesystem, options = options, path=self.path) \ No newline at end of file + self.partition.format(filesystem=filesystem, options=options, path=self.path) \ No newline at end of file diff --git a/archinstall/lib/luks.py b/archinstall/lib/luks.py index c4ebf52f..c7e8ccad 100644 --- a/archinstall/lib/luks.py +++ b/archinstall/lib/luks.py @@ -13,7 +13,7 @@ if TYPE_CHECKING: from .disk import Partition, convert_device_to_uuid, MapperDev from .general import SysCommand, SysCommandWorker from .output import log -from .exceptions import SysCallError, DiskError +from .exceptions import DiskError class luks2: def __init__(self, @@ -102,7 +102,7 @@ class luks2: 'luksFormat', partition.path, ]) - cryptworker = SysCommandWorker(cryptsetup_args) + cryptworker = SysCommandWorker(cryptsetup_args, peak_output=True) pw_given = False while cryptworker.is_alive():