From 43567ab91550fe33b2c8a7b0e6bd4ea595f79fbf Mon Sep 17 00:00:00 2001 From: Jeremy Katz Date: Sat, 10 Jun 2006 20:02:37 +0000 Subject: 2006-06-10 Jeremy Katz * autopart.py (doClearPartAction): Clear partition on mactels if it doesn't have a filesystem so that we can do auto-partitioning on them. --- autopart.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'autopart.py') 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) -- cgit