The step is renamed to repotasksel as it is for editing/selection for
repositories and selection of tasks. The latter should probably go into its own
UI screen or to group selection screen as it requires repos to be set up to
obtain group information. This can be done later, for now I don't
change the UI screens.
The main reason for the change of order is simply that repos should be
set up after their editing/selection. This way we can get rid of mixing
of additional repo setup stuff with repo editing UI, and handle errors
in repo specification more gracefuly (like disabling the repo).
---
pyanaconda/dispatch.py | 2 +-
pyanaconda/gui.py | 2 +-
pyanaconda/installclass.py | 4 ++--
pyanaconda/kickstart.py | 8 ++++----
pyanaconda/text.py | 2 +-
5 files changed, 9 insertions(+), 9 deletions(-)
# allow backends to disable interactive package selection
if not anaconda.backend.supportsPackageSelection:
- dispatch.skipStep("tasksel", skip = 1, permanent=1)
+ dispatch.skipStep("repotasksel", skip = 1, permanent=1)
dispatch.skipStep("group-selection", skip = 1, permanent=1)
# allow install classes to turn off the upgrade
diff --git a/pyanaconda/kickstart.py b/pyanaconda/kickstart.py
index 4bafb27..04607a9 100644
--- a/pyanaconda/kickstart.py
+++ b/pyanaconda/kickstart.py
@@ -1472,18 +1472,18 @@ def setSteps(anaconda):
# If the package section included anything, skip group selection.
if ksdata.upgrade.upgrade:
- ksdata.skipSteps.extend(["tasksel", "group-selection"])
+ ksdata.skipSteps.extend(["repotasksel", "group-selection"])
# Special check for this, since it doesn't make any sense.
if ksdata.packages.seen:
warnings.warn("Ignoring contents of %packages section due to upgrade.")
elif havePackages(ksdata.packages):
- ksdata.skipSteps.extend(["tasksel", "group-selection"])
+ ksdata.skipSteps.extend(["repotasksel", "group-selection"])
else:
if ksdata.packages.seen:
- ksdata.skipSteps.extend(["tasksel", "group-selection"])
+ ksdata.skipSteps.extend(["repotasksel", "group-selection"])
else:
- ksdata.showSteps.extend(["tasksel", "group-selection"])
+ ksdata.showSteps.extend(["repotasksel", "group-selection"])