summaryrefslogtreecommitdiffstats
path: root/autopart.py
diff options
context:
space:
mode:
Diffstat (limited to 'autopart.py')
-rw-r--r--autopart.py3
1 files changed, 2 insertions, 1 deletions
diff --git a/autopart.py b/autopart.py
index 2407b050f..ef706fd2b 100644
--- a/autopart.py
+++ b/autopart.py
@@ -1107,7 +1107,8 @@ def doClearPartAction(anaconda, partitions, diskset):
partedUtils.isLinuxNativeByNumtype(part.native_type)) or
((part.native_type == -1) and # the ptable doesn't have types
((part.is_flag_available(parted.PARTITION_RAID) and part.get_flag(parted.PARTITION_RAID)) or # this is a RAID
- (part.is_flag_available(parted.PARTITION_LVM) and part.get_flag(parted.PARTITION_LVM))))): # or an LVM
+ (part.is_flag_available(parted.PARTITION_LVM) and part.get_flag(parted.PARTITION_LVM)) or # or an LVM
+ (iutil.isMactel() and not ptype)))): # or we're on a mactel and have a blank partition from bootcamp #FIXME: this could be dangerous...
old = partitions.getRequestByDeviceName(partedUtils.get_partition_name(part))
if old.getProtected():
part = disk.next_partition(part)