summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--installclass.py17
-rw-r--r--kickstart.py15
2 files changed, 2 insertions, 30 deletions
diff --git a/installclass.py b/installclass.py
index 51b6c4796..2c6d86e86 100644
--- a/installclass.py
+++ b/installclass.py
@@ -91,23 +91,6 @@ class BaseInstallClass:
self.raidList.append(mntPoint, raidDev, level, devices)
-
- def addNewPartition(self, mntPoint, sizespec, locspec, typespec, fsopts=None):
- (device, part, primOnly) = locspec
-
- if not device:
- device = ""
-
- if mntPoint[0] != '/' and mntPoint != 'swap' and \
- mntPoint[0:5] != "raid.":
- raise TypeError, "bad mount point for partitioning: %s" % \
- (mntPoint,)
-
- self.partitions.append((mntPoint, sizespec, (device, part, primOnly),typespec, fsopts))
-
- def addToFstab(self, mntpoint, dev, fstype = "ext2" , reformat = 1):
- self.fstab.append((mntpoint, (dev, fstype, reformat)))
-
def setSteps(self, dispatch):
dispatch.setStepList(
"language",
diff --git a/kickstart.py b/kickstart.py
index 6f5916c94..6b53b9c8f 100644
--- a/kickstart.py
+++ b/kickstart.py
@@ -593,7 +593,8 @@ class KickstartBase(BaseInstallClass):
mntPoint = extra[0]
extra = extra[1:]
- self.addRaidEntry(mntPoint, raidDev, level, extra)
+ # XXX reimplement
+ # self.addRaidEntry(mntPoint, raidDev, level, extra)
def definePartition(self, id, args):
# we set up partition requests (whee!)
@@ -665,18 +666,6 @@ class KickstartBase(BaseInstallClass):
self.skipSteps.append("partition")
-## if onPart:
-## if extra[0] == 'swap':
-## # handle swap filesystems correctly
-## self.addToFstab(extra[0], onPart, 'swap',1)
-## else:
-## if format == 0:
-## self.addToFstab(extra[0], onPart, reformat = 0)
-## else:
-## self.addToFstab(extra[0], onPart, 'ext2', 1)
-## else:
-## self.addNewPartition(extra[0], (size, maxSize, grow), (device, partNum, primOnly), (type, active), fsopts)
-
def setSteps(self, dispatch):
BaseInstallClass.setSteps(self, dispatch)