From 4818fd9da7cdafbe289022110bf6be81c69ffcbe Mon Sep 17 00:00:00 2001 From: Anton Hvornum Date: Wed, 9 Feb 2022 17:54:17 +0100 Subject: [PATCH] Changing debug information --- .gitignore | 1 + archinstall/lib/luks.py | 2 +- debug.txt | 2 -- 3 files changed, 2 insertions(+), 3 deletions(-) delete mode 100644 debug.txt diff --git a/.gitignore b/.gitignore index 1348bafe..de066483 100644 --- a/.gitignore +++ b/.gitignore @@ -32,3 +32,4 @@ venv .DS_Store **/cmd_history.txt **/*.*~ +/*.txt diff --git a/archinstall/lib/luks.py b/archinstall/lib/luks.py index 59c437b9..2005aed2 100644 --- a/archinstall/lib/luks.py +++ b/archinstall/lib/luks.py @@ -100,7 +100,7 @@ class luks2: ]) # print(f"Looking for phrase: 'Enter passphrase for {partition.path}'") - cryptworker = SysCommandWorker(cryptsetup_args, peak_output=True) + cryptworker = SysCommandWorker(f'/bin/bash -c "{cryptsetup_args}"', peak_output=True) # print(f'Looking for: Enter passphrase for {partition.path}') pw_given = False diff --git a/debug.txt b/debug.txt deleted file mode 100644 index bb354d7a..00000000 --- a/debug.txt +++ /dev/null @@ -1,2 +0,0 @@ -Looking for: Enter passphrase for /dev/loop0p2 -found it! Writing password: b'test'