--- pyanaconda/storage/partitioning.py | 3 +-- 1 files changed, 1 insertions(+), 2 deletions(-) diff --git a/pyanaconda/storage/partitioning.py b/pyanaconda/storage/partitioning.py index 65902ff..e8f3921 100644 --- a/pyanaconda/storage/partitioning.py +++ b/pyanaconda/storage/partitioning.py @@ -293,8 +293,7 @@ def shouldClear(device, clearPartType, clearPartDisks=None): # Never clear the special first partition on a Mac disk label, as that # holds the partition table itself. if device.disk.format.partedDisk.type == "mac" and \ - device.partedPartition.number == 1 and \ - device.partedPartition.name == "Apple": + device.partedPartition.number == 1: return False # If we got a list of disks to clear, make sure this one's on it -- 1.7.3.5 _______________________________________________ Anaconda-devel-list mailing list Anaconda-devel-list@xxxxxxxxxx https://www.redhat.com/mailman/listinfo/anaconda-devel-list