From 2ae88aec773f554547274c861383c8e298614936 Mon Sep 17 00:00:00 2001 From: Anton Hvornum Date: Thu, 22 Dec 2022 11:36:29 +0100 Subject: [PATCH] Attempting a retry-attempt on the broken part of lsblk --- archinstall/lib/disk/helpers.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/archinstall/lib/disk/helpers.py b/archinstall/lib/disk/helpers.py index a431fb15..61dfa279 100644 --- a/archinstall/lib/disk/helpers.py +++ b/archinstall/lib/disk/helpers.py @@ -214,8 +214,9 @@ def all_disks() -> List[BlockDevice]: def get_blockdevice_info(device_path, exclude_iso_dev :bool = True) -> Dict[str, Any]: for retry_attempt in range(storage['DISK_RETRY_ATTEMPTS']): - partprobe(device_name) + partprobe(device_path) time.sleep(max(0.1, storage['DISK_TIMEOUTS'] * i)) # TODO: Remove, we should be relying on blkid instead of lsblk + try: if exclude_iso_dev: # exclude all devices associated with the iso boot locations