index : archinstall32 | |
Archlinux32 installer | gitolite user |
summaryrefslogtreecommitdiff |
-rw-r--r-- | archinstall/lib/disk/filesystem.py | 2 | ||||
-rw-r--r-- | archinstall/lib/disk/partition.py | 2 |
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: diff --git a/archinstall/lib/disk/partition.py b/archinstall/lib/disk/partition.py index 3117a42c..b3db143a 100644 --- a/archinstall/lib/disk/partition.py +++ b/archinstall/lib/disk/partition.py @@ -225,7 +225,7 @@ class Partition: return bind_name def partprobe(self) -> bool: - if SysCommand(f'bash -c "partprobe"').exit_code == 0: + if SysCommand(f'partprobe {self.block_device.device}').exit_code == 0: time.sleep(1) return True return False |