summaryrefslogtreecommitdiffstats
path: root/dispatch.py
diff options
context:
space:
mode:
authorJeremy Katz <katzj@redhat.com>2005-09-16 21:16:28 +0000
committerJeremy Katz <katzj@redhat.com>2005-09-16 21:16:28 +0000
commit10f211fb9f37aff25d1dc592c9796cd9fe8e179e (patch)
tree0d879e3404cc0e1ba0e704d1260739ceb052dadc /dispatch.py
parentb6013ec3704e05f111d7b3ac8f1851515898f6c5 (diff)
downloadanaconda-10f211fb9f37aff25d1dc592c9796cd9fe8e179e.tar.gz
anaconda-10f211fb9f37aff25d1dc592c9796cd9fe8e179e.tar.xz
anaconda-10f211fb9f37aff25d1dc592c9796cd9fe8e179e.zip
2005-09-16 Jeremy Katz <katzj@redhat.com>
* yuminstall.py (AnacondaYum.__init__): Little bit of clean-up, remove some unused code. (YumBackend.__init__): Create config file sooner. (YumBackend.doPreSelection): Get base install class package selection working in the short-term. (YumBackend): Implement groupExists, selectGroup, selectPackage and deselectPackage. * kickstart.py (AnacondaKSParser.handleCommand): Fix traceback. (Kickstart.setPackageSelection): Implement basic package selection. (Kickstart.setGroupSelection): ... and group selection. * installclass.py (BaseInstallClass.setPackageSelection): Use backend. (BaseInstallClass.setGroupSelection): Likewise. * dispatch.py (installSteps): Some comments to move stuff around, re-instate post action step. * backend.py (AnacondaBackend): Take instpath argument. Stub in functions for basic package/group selection. * anaconda: Pass rootPath into backend.
Diffstat (limited to 'dispatch.py')
-rw-r--r--dispatch.py15
1 files changed, 9 insertions, 6 deletions
diff --git a/dispatch.py b/dispatch.py
index 0b9ff1fd7..3d9112fd2 100644
--- a/dispatch.py
+++ b/dispatch.py
@@ -40,12 +40,12 @@ from upgrade import findRootParts
from network import networkDeviceCheck
from installmethod import doMethodComplete
-import logging
-log = logging.getLogger("anaconda")
-
from backend import doPreSelection, doPostSelection
from backend import doPreInstall, doPostInstall, doInstall
+import logging
+log = logging.getLogger("anaconda")
+
# These are all of the install steps, in order. Note that upgrade and
# install steps are the same thing! Upgrades skip install steps, while
# installs skip upgrade steps.
@@ -125,11 +125,14 @@ installSteps = [
"instPath")),
("setuptime", setupTimezone, ("id.timezone", "id.upgrade", "instPath",
"dir")),
+
+ # FIXME: package selection should be done before we create filesystems
("preselection", doPreSelection, ("backend","intf", "id", "instPath")),
- ("preinstallconfig", doPreInstall, ("backend", "intf", "id", "instPath", "dir")),
("postselection", doPostSelection, ("backend", "intf", "id", "instPath")),
+
+ ("preinstallconfig", doPreInstall, ("backend", "intf", "id", "instPath", "dir")),
("installpackages", doInstall, ("backend", "intf", "id", "instPath")),
- #("postinstallconfig", backend.doPostInstall, ("method", "id", "intf", "instPath")),
+ ("postinstallconfig", doPostInstall, ("backend", "intf", "id", "instPath")),
("writeconfig", writeConfiguration, ("id", "instPath")),
("firstboot", firstbootConfiguration, ("id", "instPath")),
("instbootloader", writeBootloader, ("intf", "instPath", "id.fsset",
@@ -139,7 +142,7 @@ installSteps = [
("writeksconfig", writeKSConfiguration, ("id", "instPath")),
("setfilecon", setFileCons, ("instPath","id.partitions")),
("copylogs", copyAnacondaLogs, ("instPath",)),
- ("dopostaction", doPostInstall, ("backend", "intf", "id", "instPath")),
+ ("dopostaction", doPostAction, ("id", "instPath")),
("methodcomplete", doMethodComplete, ("method", "id.fsset")),
("complete", ()),
]