From 1515fb9fdeeb807b1301bc803d625dfebca8aaca Mon Sep 17 00:00:00 2001 From: Anton Hvornum Date: Mon, 7 Feb 2022 09:10:39 +0100 Subject: Calling Partition().partprobe() instead of general partprobe. This avoids read-only issues and lets Partition().partprobe() deal with the error checks. --- archinstall/lib/luks.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'archinstall/lib') diff --git a/archinstall/lib/luks.py b/archinstall/lib/luks.py index d39bce0f..e61fd43b 100644 --- a/archinstall/lib/luks.py +++ b/archinstall/lib/luks.py @@ -82,7 +82,7 @@ class luks2: with open(key_file, 'wb') as fh: fh.write(password) - SysCommand(f'bash -c "partprobe"') # Might be redundant + partition.partprobe() cryptsetup_args = shlex.join([ '/usr/bin/cryptsetup', -- cgit v1.2.3-70-g09d2