summaryrefslogtreecommitdiffstats
path: root/textw/partitioning_text.py
diff options
context:
space:
mode:
authorMike Fulbright <msf@redhat.com>2000-05-24 22:22:55 +0000
committerMike Fulbright <msf@redhat.com>2000-05-24 22:22:55 +0000
commit41c39bf80a2faa6500b5f9a71db930131eb4db1e (patch)
tree4be2bfb46e8bc986387f85fe7e8225e00e0eeaaf /textw/partitioning_text.py
parent7f11041ee9ca90fa8a333ce3c0a24ede4aba14be (diff)
downloadanaconda-41c39bf80a2faa6500b5f9a71db930131eb4db1e.tar.gz
anaconda-41c39bf80a2faa6500b5f9a71db930131eb4db1e.tar.xz
anaconda-41c39bf80a2faa6500b5f9a71db930131eb4db1e.zip
fixes harddrive install to not nuke source partition, and also get --onpart to work (and warn when is can't because clearpart is on
Diffstat (limited to 'textw/partitioning_text.py')
-rw-r--r--textw/partitioning_text.py11
1 files changed, 11 insertions, 0 deletions
diff --git a/textw/partitioning_text.py b/textw/partitioning_text.py
index 7fa789cdb..78c75afa5 100644
--- a/textw/partitioning_text.py
+++ b/textw/partitioning_text.py
@@ -103,6 +103,17 @@ class AutoPartitionWindow:
def __call__(self, screen, todo):
druid = None
+
+ # if harddrive install and installing from a logical partition,
+ # do not offer autopartitioning
+ if iutil.getArch() == 'i386':
+ pp = todo.method.protectedPartitions()
+ if pp:
+ for p in pp:
+ if p[-1:] > 4:
+ todo.fstab.setRunDruid(1)
+ return
+
# if instClass has new or old partition info we are in ks
if todo.instClass.partitions or todo.instClass.fstab:
druid = \