Send patches - preferably formatted by git format-patch - to patches at archlinux32 dot org.
summaryrefslogtreecommitdiff
path: root/archinstall/lib/disk/filesystem.py
diff options
context:
space:
mode:
authorVictor Gavro <vgavro@gmail.com>2022-01-25 15:45:28 +0200
committerGitHub <noreply@github.com>2022-01-25 14:45:28 +0100
commiteb712a9ca557f594d891b5b6942692b6c98de62c (patch)
treebe0c3984b9d8894445f5023018da9d235663e777 /archinstall/lib/disk/filesystem.py
parent26f9b681a45842d9a1ffd90e8b1397048b3c3645 (diff)
FIX: disk layout: partprobe should be called and checked only for target device (#896)
* disk layout: partprobe should be called and checked only for target device * disk layout: partprobe: removed unnecessary bash subprocess
Diffstat (limited to 'archinstall/lib/disk/filesystem.py')
-rw-r--r--archinstall/lib/disk/filesystem.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/archinstall/lib/disk/filesystem.py b/archinstall/lib/disk/filesystem.py
index 3aa09b15..edae5378 100644
--- a/archinstall/lib/disk/filesystem.py
+++ b/archinstall/lib/disk/filesystem.py
@@ -141,7 +141,7 @@ class Filesystem:
return partition
def partprobe(self) -> bool:
- return SysCommand(f'bash -c "partprobe"').exit_code == 0
+ return SysCommand(f'partprobe {self.blockdevice.device}').exit_code == 0
def raw_parted(self, string: str) -> SysCommand:
if (cmd_handle := SysCommand(f'/usr/bin/parted -s {string}')).exit_code != 0: