diff options
Diffstat (limited to 'pyanaconda/installclass.py')
-rw-r--r-- | pyanaconda/installclass.py | 64 |
1 files changed, 0 insertions, 64 deletions
diff --git a/pyanaconda/installclass.py b/pyanaconda/installclass.py index 144df917b..3f291059a 100644 --- a/pyanaconda/installclass.py +++ b/pyanaconda/installclass.py @@ -81,70 +81,6 @@ class BaseInstallClass(object): def postAction(self, anaconda): anaconda.backend.postAction(anaconda) - def setSteps(self, anaconda): - dispatch = anaconda.dispatch - dispatch.schedule_steps( - "language", - "keyboard", - "filtertype", - "filter", - "storageinit", - "findrootparts", - "betanag", - "cleardiskssel", - "parttype", - "autopartitionexecute", - "storagedone", - "bootloader", - "network", - "timezone", - "accounts", - "reposetup", - "basepkgsel", - "tasksel", - "postselection", - "reipl", - "install", - "enablefilesystems", - "setuptime", - "preinstallconfig", - "installpackages", - "postinstallconfig", - "writeconfig", - "firstboot", - "instbootloader", - "dopostaction", - "methodcomplete", - "complete" - ) - - if isFinal: - dispatch.skip_steps("betanag") - - if iutil.isEfi() or not iutil.isX86(): - dispatch.skip_steps("bootloader") - - # allow backends to disable interactive package selection - if not anaconda.backend.supportsPackageSelection: - dispatch.skip_steps("tasksel") - dispatch.skip_steps("group-selection") - - # allow install classes to turn off the upgrade - if not self.showUpgrade or not anaconda.backend.supportsUpgrades: - dispatch.skip_steps("findrootparts") - - # 'noupgrade' can be used on the command line to force not looking - # for partitions to upgrade. useful in some cases... - if flags.cmdline.has_key("noupgrade"): - dispatch.skip_steps("findrootparts") - - # upgrade will also always force looking for an upgrade. - if flags.cmdline.has_key("upgrade"): - dispatch.request_steps("findrootparts") - - # allow interface backends to skip certain steps. - map(lambda s: dispatch.skip_steps(s), anaconda.intf.unsupported_steps()) - # modifies the uri from installmethod.getMethodUri() to take into # account any installclass specific things including multiple base # repositories. takes a string or list of strings, returns a dict |