diff options
author | Jeremy Katz <katzj@redhat.com> | 2006-06-10 20:02:37 +0000 |
---|---|---|
committer | Jeremy Katz <katzj@redhat.com> | 2006-06-10 20:02:37 +0000 |
commit | 43567ab91550fe33b2c8a7b0e6bd4ea595f79fbf (patch) | |
tree | 866b87818218951d124662255b183c116161532f /autopart.py | |
parent | 02af8d082e2ea94c61778e4a14b61531f8cd03c9 (diff) | |
download | anaconda-43567ab91550fe33b2c8a7b0e6bd4ea595f79fbf.tar.gz anaconda-43567ab91550fe33b2c8a7b0e6bd4ea595f79fbf.tar.xz anaconda-43567ab91550fe33b2c8a7b0e6bd4ea595f79fbf.zip |
2006-06-10 Jeremy Katz <katzj@redhat.com>
* autopart.py (doClearPartAction): Clear partition on mactels if
it doesn't have a filesystem so that we can do auto-partitioning
on them.
Diffstat (limited to 'autopart.py')
-rw-r--r-- | autopart.py | 3 |
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) |