index : archinstall32 | |
Archlinux32 installer | gitolite user |
summaryrefslogtreecommitdiff |
author | Anton Hvornum <anton.feeds@gmail.com> | 2021-11-11 14:16:14 +0000 |
---|---|---|
committer | Anton Hvornum <anton.feeds@gmail.com> | 2021-11-11 14:16:14 +0000 |
commit | 4ea7feb04e2a742435b45db242c91c0f2b88000c (patch) | |
tree | 9a39829656d3685a0c154f27d963cd665833f891 /archinstall/lib/disk/blockdevice.py | |
parent | 15e569d0bd0c910bd65573007135ab10267d82bc (diff) |
-rw-r--r-- | archinstall/lib/disk/blockdevice.py | 5 |
diff --git a/archinstall/lib/disk/blockdevice.py b/archinstall/lib/disk/blockdevice.py index 5204f09b..8ee5e74a 100644 --- a/archinstall/lib/disk/blockdevice.py +++ b/archinstall/lib/disk/blockdevice.py @@ -217,7 +217,7 @@ class BlockDevice: def get_partition(self, uuid): count = 0 while count < 5: - for partition in self: + for partition in self.partitions: if partition.uuid == uuid: return partition else: @@ -226,4 +226,7 @@ class BlockDevice: count += 1 else: log(f"Could not find {uuid} in disk after 5 retries",level=logging.INFO) + print(f"Partitions: {self.partitions}") + print(f"UUID parts: {partition.uuid for partition in self.partitions}") + print(f"UUID: {[uuid]}") raise DiskError(f"New partition {uuid} never showed up after adding new partition on {self}") |