summaryrefslogtreecommitdiffstats
path: root/partitioning.py
diff options
context:
space:
mode:
authorMike Fulbright <msf@redhat.com>2001-06-25 19:07:54 +0000
committerMike Fulbright <msf@redhat.com>2001-06-25 19:07:54 +0000
commit656359e03d1c836ba1232b91f8b521f2f5623100 (patch)
treeb76ec2f91bf4df8e3bf61f6b25444c50afa422a4 /partitioning.py
parent17ca1c75dc2e7f76555ee49329bdf50d95c100a7 (diff)
downloadanaconda-656359e03d1c836ba1232b91f8b521f2f5623100.tar.gz
anaconda-656359e03d1c836ba1232b91f8b521f2f5623100.tar.xz
anaconda-656359e03d1c836ba1232b91f8b521f2f5623100.zip
add partition method to GUI, rework to use skiplist
Diffstat (limited to 'partitioning.py')
-rw-r--r--partitioning.py16
1 files changed, 16 insertions, 0 deletions
diff --git a/partitioning.py b/partitioning.py
index dd553c36a..4b4fb4edd 100644
--- a/partitioning.py
+++ b/partitioning.py
@@ -814,3 +814,19 @@ class DiskSet:
flags))
part = disk.next_partition(part)
return rc
+
+def partitionMethodSetup(id, dispatch):
+
+ # turn on/off step based on 3 paths:
+ # - use fdisk, then set mount points
+ # - use autopartitioning, then set mount points
+ # - use interactive partitioning tool, continue
+
+ dispatch.skipStep("autopartition", skip = not id.useAutopartitioning)
+ dispatch.skipStep("autopartitionexecute",skip = not id.useAutopartitioning)
+ dispatch.skipStep("fdisk", skip = not id.useFdisk)
+
+ # read in drive info
+ id.diskset = DiskSet()
+ id.partrequests = PartitionRequests(id.diskset)
+