diff options
author | Chris Lumens <clumens@redhat.com> | 2012-07-17 10:32:23 -0400 |
---|---|---|
committer | Chris Lumens <clumens@redhat.com> | 2012-07-17 10:32:23 -0400 |
commit | abd3faee2cb535342bdaf8b0e65617451302712e (patch) | |
tree | cfcfc37d94f62aa6214da9837198b9bcc19e22be /pyanaconda/installclass.py | |
parent | 499430a85e5d97f546f8c584170df6996c8c7957 (diff) | |
download | anaconda-abd3faee2cb535342bdaf8b0e65617451302712e.tar.gz anaconda-abd3faee2cb535342bdaf8b0e65617451302712e.tar.xz anaconda-abd3faee2cb535342bdaf8b0e65617451302712e.zip |
Remove enough of dispatcher so anaconda works without partIntfHelpers.
Our tangled set of imports means that anaconda was still trying to import
partIntfHelpers through dispatch and rescue mode. This patch breaks those
imports (which likely further breaks rescue and upgrade modes) and makes
the gui work again.
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 |