summaryrefslogtreecommitdiffstats
path: root/anaconda
diff options
context:
space:
mode:
authorChris Lumens <clumens@redhat.com>2009-12-21 13:50:12 -0500
committerChris Lumens <clumens@redhat.com>2010-02-04 15:07:56 -0500
commit48bf7f2c03d5512c287d240716c8580946566674 (patch)
tree166df1c3e1f96bdfe24e32a07f6b5d6a7bcf61c0 /anaconda
parent36be32c25452a08b5950f991d61013b91e9e5771 (diff)
downloadanaconda-48bf7f2c03d5512c287d240716c8580946566674.tar.gz
anaconda-48bf7f2c03d5512c287d240716c8580946566674.tar.xz
anaconda-48bf7f2c03d5512c287d240716c8580946566674.zip
Nothing uses InstallData anymore, so it can completely be removed.
This also changes instClass.setInstallData to instClass.configure, which makes a little more sense in this post-instdata world.
Diffstat (limited to 'anaconda')
-rwxr-xr-xanaconda17
1 files changed, 4 insertions, 13 deletions
diff --git a/anaconda b/anaconda
index 80dab6684..fc83312a6 100755
--- a/anaconda
+++ b/anaconda
@@ -612,8 +612,7 @@ class Anaconda(object):
def writeXdriver(self):
# this should go away at some point, but until it does, we
- # need to keep it around. it could go into instdata but this
- # isolates it a little more
+ # need to keep it around.
if self.xdriver is None:
return
if not os.path.isdir("%s/etc/X11" %(self.rootPath,)):
@@ -754,9 +753,6 @@ class Anaconda(object):
self.storage.writeKS(f)
self.bootloader.writeKS(f)
- # XXX: This is temporary until instdata goes away completely.
- self.id.writeKS(f)
-
if self.backend:
self.backend.writeKS(f)
self.backend.writePackagesKS(f, self)
@@ -978,12 +974,10 @@ if __name__ == "__main__":
if opts.rescue:
anaconda.rescue = True
- import rescue, instdata
-
- anaconda.id = instdata.InstallData(anaconda, [])
+ import rescue
if anaconda.ksdata:
- anaconda.instClass.setInstallData(anaconda)
+ anaconda.instClass.configure(anaconda)
# We need an interface before running kickstart execute methods for
# storage.
@@ -1042,8 +1036,6 @@ if __name__ == "__main__":
if opts.debug:
flags.debug = True
- import instdata
-
log.info("anaconda called with cmdline = %s" %(sys.argv,))
log.info("Display mode = %s" % anaconda.displayMode)
@@ -1120,8 +1112,7 @@ if __name__ == "__main__":
runVNC()
doStartupX11Actions(opts.runres)
- anaconda.id = anaconda.instClass.installDataClass(anaconda)
- anaconda.instClass.setInstallData(anaconda)
+ anaconda.instClass.configure(anaconda)
# comment out the next line to make exceptions non-fatal
from exception import initExceptionHandling