summaryrefslogtreecommitdiffstats
path: root/dispatch.py
diff options
context:
space:
mode:
authorMatt Wilson <msw@redhat.com>2001-06-20 21:59:42 +0000
committerMatt Wilson <msw@redhat.com>2001-06-20 21:59:42 +0000
commit80914318ac923329bd704aa82063e26235eb6fbe (patch)
tree4074bfdbd34f5b474a8620eb9652841bc3ec0cd2 /dispatch.py
parent8b2f175465e362edf32034cf133ff06650626942 (diff)
downloadanaconda-80914318ac923329bd704aa82063e26235eb6fbe.tar.gz
anaconda-80914318ac923329bd704aa82063e26235eb6fbe.tar.xz
anaconda-80914318ac923329bd704aa82063e26235eb6fbe.zip
remove unused code, add copyright bits
Diffstat (limited to 'dispatch.py')
-rw-r--r--dispatch.py32
1 files changed, 15 insertions, 17 deletions
diff --git a/dispatch.py b/dispatch.py
index 031890ce4..f8436dfa4 100644
--- a/dispatch.py
+++ b/dispatch.py
@@ -1,8 +1,22 @@
+#
+# dispatch.py: install/upgrade master flow control
+#
+# Erik Troan <ewt@redhat.com>
+#
+# Copyright 2001 Red Hat, Inc.
+#
+# This software may be freely redistributed under the terms of the GNU
+# library public license.
+#
+# You should have received a copy of the GNU Library Public License
+# along with this program; if not, write to the Free Software
+# Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
+#
+
import string
from types import *
from packages import readPackages, checkDependencies, doInstall, handleX11Packages
from packages import writeConfiguration, writeXConfiguration, writeKSConfiguration, turnOnFilesystems, queryUpgradeContinue
-from partitioning import AutoPartition
from iutil import makeBootdisk
from bootloader import partitioningComplete, writeBootloader
from flags import flags
@@ -24,19 +38,9 @@ DISPATCH_NOOP = None
# in the second case, the function is called directly from the dispatcher
installSteps = [
-# XXX for msw partition development
-# ( "partition", ("id.fsset", "id.diskset", "id.partrequests") ),
( "language", ("intf", "id.instLanguage") ),
( "keyboard", ("id.instLanguage", "id.keyboard") ),
( "mouse", ("id.mouse", ) ),
-#
-# uncomment next 4 steps to debug X config easier
-#
-# ( "videocard", ("dispatch", "id.xconfig", "id.videocard")),
-# ( "monitor", ("id.xconfig", "id.monitor") ),
-# ( "xcustom", ("id.xconfig", "id.monitor", "id.videocard",
-# "id.desktop", "id.comps") ),
-# ( "writexconfig", writeXConfiguration, ("id", "instPath")),
( "welcome", () ),
( "reconfigwelcome", () ),
( "reconfigkeyboard", ("id.instLanguage", "id.keyboard" ) ),
@@ -44,12 +48,6 @@ installSteps = [
"intf") ),
( "partition", ("id.fsset", "id.diskset", "id.partrequests",
"intf")),
- #( "partitionmethod", ( "dispatch", )),
- #( "fdisk", ( "id.diskset", )),
- #( "custom-upgrade", () ),
- #( "addswap", () ),
- #( "fdisk", () ),
- #( "partition", () ),
( "partitiondone", partitioningComplete,
("dispatch", "id.bootloader",
"id.fsset", "id.diskset" ) ),