index : archinstall32 | |
Archlinux32 installer | gitolite user |
summaryrefslogtreecommitdiff |
author | Werner Llácer <wllacer@gmail.com> | 2022-01-06 23:26:49 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2022-01-06 23:26:49 +0100 |
commit | a8862e9b2420cb1e3919288db624fae676b7e1c3 (patch) | |
tree | 833d0b1bd0acc7a0c8c0ef443f5d8bcd410ca5d3 /archinstall/lib/luks.py | |
parent | e32cf71ae7dacbf9674262705cb2e8e1a5a2d206 (diff) |
-rw-r--r-- | archinstall/lib/luks.py | 4 |
diff --git a/archinstall/lib/luks.py b/archinstall/lib/luks.py index 26f2bc1b..d39bce0f 100644 --- a/archinstall/lib/luks.py +++ b/archinstall/lib/luks.py @@ -179,8 +179,8 @@ class luks2: raise OSError(2, f"Could not import {path} as a disk encryption key, file is missing.", str(path)) log(f'Adding additional key-file {path} for {self.partition}', level=logging.INFO) - - worker = SysCommandWorker(f"/usr/bin/cryptsetup -q -v luksAddKey {self.partition.path} {path}") + worker = SysCommandWorker(f"/usr/bin/cryptsetup -q -v luksAddKey {self.partition.path} {path}", + environment_vars={'LC_ALL':'C'}) pw_injected = False while worker.is_alive(): if b'Enter any existing passphrase' in worker and pw_injected is False: |