[PATCH][f15, master] Don't clear partition 1 from mac disks even if it has no name. (#674105)

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



---
 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


[Index of Archives]     [Kickstart]     [Fedora Users]     [Fedora Legacy List]     [Fedora Maintainers]     [Fedora Desktop]     [Fedora SELinux]     [Big List of Linux Books]     [Yosemite News]     [Yosemite Photos]     [KDE Users]     [Fedora Tools]
  Powered by Linux