Send patches - preferably formatted by git format-patch - to patches at archlinux32 dot org.
summaryrefslogtreecommitdiff
path: root/archinstall/lib/luks.py
diff options
context:
space:
mode:
authorAnton Hvornum <anton@hvornum.se>2022-02-07 09:10:39 +0100
committerAnton Hvornum <anton@hvornum.se>2022-02-07 09:10:39 +0100
commit1515fb9fdeeb807b1301bc803d625dfebca8aaca (patch)
tree178bcdf6ab04f84e20fc149767aa5b241f6c42a0 /archinstall/lib/luks.py
parentef558fdb4559d113f55c8a9df2ebefda9bd25ae5 (diff)
Calling Partition().partprobe() instead of general partprobe. This avoids read-only issues and lets Partition().partprobe() deal with the error checks.
Diffstat (limited to 'archinstall/lib/luks.py')
-rw-r--r--archinstall/lib/luks.py2
1 files changed, 1 insertions, 1 deletions
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',