summaryrefslogtreecommitdiffstats
path: root/installclasses
diff options
context:
space:
mode:
authorJeremy Katz <katzj@redhat.com>2002-01-23 19:55:43 +0000
committerJeremy Katz <katzj@redhat.com>2002-01-23 19:55:43 +0000
commit9ea5ddf412a64b6e0a5ccb93f6389fcf3ffef1ce (patch)
tree99cfe6d5ced7de383aa2f313d79cbaca3ff1b374 /installclasses
parent27f0aebd7bd3601bfa10798daa43a1ea4eb20f4b (diff)
downloadanaconda-9ea5ddf412a64b6e0a5ccb93f6389fcf3ffef1ce.tar.gz
anaconda-9ea5ddf412a64b6e0a5ccb93f6389fcf3ffef1ce.tar.xz
anaconda-9ea5ddf412a64b6e0a5ccb93f6389fcf3ffef1ce.zip
upgrade only must die. we need to make sure to inform docs and qa
Diffstat (limited to 'installclasses')
-rw-r--r--installclasses/upgradeonly.py57
1 files changed, 0 insertions, 57 deletions
diff --git a/installclasses/upgradeonly.py b/installclasses/upgradeonly.py
deleted file mode 100644
index e7a9027d7..000000000
--- a/installclasses/upgradeonly.py
+++ /dev/null
@@ -1,57 +0,0 @@
-from installclass import BaseInstallClass
-from translate import N_
-import os
-import iutil
-
-class InstallClass(BaseInstallClass):
- name = "upgradeonly"
- pixmap = ""
- hidden = 1
- sortPriority = 1
-
- def requiredDisplayMode(self):
- return 't'
-
- def setSteps(self, dispatch):
- dispatch.setStepList(
- "findrootparts",
- "findinstall",
- "partitionobjinit",
- "upgrademount",
- "upgradeswapsuggestion",
- "addswap",
- "upgrademigfind",
- "upgrademigratefs",
- "upgradecontinue",
- "bootloadersetup",
- "bootloader",
- "bootloaderpassword",
- "readcomps",
- "findpackages",
- "checkdeps",
- "dependencies",
- "confirmupgrade",
- "install",
- "migratefilesystems",
- "preinstallconfig",
- "installpackages",
- "postinstallconfig",
- "instbootloader",
- "dopostaction",
- "bootdisk",
- "complete"
- )
-
- if iutil.getArch() == "alpha" or iutil.getArch() == "ia64":
- dispatch.skipStep("bootdisk")
- dispatch.skipStep("bootloader")
- dispatch.skipStep("bootloaderpassword")
-
- def setInstallData(self, id):
- BaseInstallClass.setInstallData(self, id)
- id.upgrade.set(1)
-
- def __init__(self, expert):
- BaseInstallClass.__init__(self, expert)
-
- self.installType = "upgrade"