summaryrefslogtreecommitdiffstats
path: root/installclass.py
diff options
context:
space:
mode:
authorJeremy Katz <katzj@redhat.com>2001-06-27 04:15:50 +0000
committerJeremy Katz <katzj@redhat.com>2001-06-27 04:15:50 +0000
commita4692d2a021a2add9a2252d49022b04e024607d9 (patch)
tree1c4a7ff1b1a2407943bc298f3e659032a0ff5f9f /installclass.py
parentef6b9a9094c9d753dcc77c360143a90faae34f1e (diff)
downloadanaconda-a4692d2a021a2add9a2252d49022b04e024607d9.tar.gz
anaconda-a4692d2a021a2add9a2252d49022b04e024607d9.tar.xz
anaconda-a4692d2a021a2add9a2252d49022b04e024607d9.zip
fix kickstart bootloader and partitioning
move setting of the fsset out of gui and tui and into partitioningComplete
Diffstat (limited to 'installclass.py')
-rw-r--r--installclass.py15
1 files changed, 7 insertions, 8 deletions
diff --git a/installclass.py b/installclass.py
index 3bc0eefcd..542a89460 100644
--- a/installclass.py
+++ b/installclass.py
@@ -9,6 +9,7 @@ import string
from xf86config import XF86Config
from translate import _
from instdata import InstallData
+from autopart import *
class BaseInstallClass:
# default to not being hidden
@@ -44,18 +45,16 @@ class BaseInstallClass:
id.bootloader.args.set(appendLine)
id.bootloader.useGrubVal = 0
- def setClearParts(self, clear, warningText = None):
- self.clearParts = clear
+ def setClearParts(self, id, clear, drives = None, warningText = None):
+ id.autoClearPartType = clear
+ id.autoClearPartDrives = drives
# XXX hack for install help text in GUI mode
- if clear == FSEDIT_CLEAR_LINUX:
+ if clear == CLEARPART_TYPE_LINUX:
self.clearType = "wkst"
- if clear == FSEDIT_CLEAR_ALL:
- self.clearType = "svr"
+ if clear == CLEARPART_TYPE_ALL:
+ self.clearType = "svr"
self.clearPartText = warningText
- def getClearParts(self):
- return self.clearParts
-
def getFstab(self):
return self.fstab