summaryrefslogtreecommitdiffstats
path: root/todo.py
diff options
context:
space:
mode:
authorMike Fulbright <msf@redhat.com>2000-05-02 21:05:28 +0000
committerMike Fulbright <msf@redhat.com>2000-05-02 21:05:28 +0000
commit1cc96d0393256eafd6d90069ac82ded8126720fa (patch)
tree13702dab7fdfd142384f0f138d1a0dea86f64d6b /todo.py
parent9809364d6d00b68bc826ae23f6f90cb99315fad3 (diff)
downloadanaconda-1cc96d0393256eafd6d90069ac82ded8126720fa.tar.gz
anaconda-1cc96d0393256eafd6d90069ac82ded8126720fa.tar.xz
anaconda-1cc96d0393256eafd6d90069ac82ded8126720fa.zip
more fixes for --onpart
Diffstat (limited to 'todo.py')
-rw-r--r--todo.py31
1 files changed, 6 insertions, 25 deletions
diff --git a/todo.py b/todo.py
index 01b86cc16..855cf7b73 100644
--- a/todo.py
+++ b/todo.py
@@ -289,10 +289,6 @@ class ToDo:
log.open (serial, reconfigOnly, test)
- # try to get --onpart working again
-# from fstab import NewtFstab
-# self.fstab = NewtFstab(self.setupFilesystems,serial,0,0,
-# self.intf.waitWindow,self.intf.messageWindow)
self.fstab = None
# liloDevice, liloLinear, liloAppend are initialized form the
@@ -370,25 +366,6 @@ class ToDo:
def setTimezoneInfo(self, timezone, asUtc = 0, asArc = 0):
self.timezone = (timezone, asUtc, asArc)
-#
-# apparently this is cruft
-#
-# def addMount(self, device, location, fsystem, reformat = 1):
-# if fsystem == "swap":
-# ufs = 0
-# try:
-# isys.makeDevInode(device, '/tmp/' + device)
-# except:
-# pass
-# try:
-# ufs = isys.checkUFS ('/tmp/' + device)
-# except:
-# pass
-# if not ufs:
-# location = "swap"
-# reformat = 1
-# self.mounts[location] = (device, fsystem, reformat)
-
def writeLanguage(self):
f = open(self.instPath + "/etc/sysconfig/i18n", "w")
f.write(str (self.language))
@@ -822,8 +799,12 @@ class ToDo:
todo.silo.setDevice(where)
todo.silo.setAppend(append)
- for (mntpoint, (dev, fstype, reformat)) in todo.instClass.fstab:
- todo.fstab.addMount(dev, mntpoint, fstype, reformat)
+#
+# only important for ks - not needed here for general case so
+# commenting out for now...
+#
+# for (mntpoint, (dev, fstype, reformat)) in todo.instClass.fstab:
+# todo.fstab.addMount(dev, mntpoint, fstype, reformat)
todo.users = []
if todo.instClass.rootPassword: