[PATCH] If we'd show package selection on kickstart installs, also show tasksel.

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



---
 kickstart.py |   12 +++++-------
 1 files changed, 5 insertions(+), 7 deletions(-)

diff --git a/kickstart.py b/kickstart.py
index 08f27e9..9a7099f 100644
--- a/kickstart.py
+++ b/kickstart.py
@@ -1216,7 +1216,6 @@ def setSteps(anaconda):
     dispatch.skipStep("betanag")
     dispatch.skipStep("regkey")
     dispatch.skipStep("installtype")
-    dispatch.skipStep("tasksel")
     dispatch.skipStep("network")
 
     # Don't show confirmation screens on non-interactive installs.
@@ -1232,22 +1231,21 @@ def setSteps(anaconda):
     # If the package section included anything, skip group selection unless
     # they're in interactive.
     if ksdata.upgrade.upgrade:
-        ksdata.skipSteps.append("group-selection")
+        ksdata.skipSteps.extend(["tasksel", "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):
         if interactive:
-            ksdata.showSteps.append("group-selection")
+            ksdata.showSteps.extend(["tasksel", "group-selection"])
         else:
-            ksdata.skipSteps.append("group-selection")
+            ksdata.skipSteps.extend(["tasksel", "group-selection"])
     else:
-        ksdata.skipSteps.append("group-selection")
         if ksdata.packages.seen:
-            ksdata.skipSteps.append("group-selection")
+            ksdata.skipSteps.extend(["tasksel", "group-selection"])
         else:
-            ksdata.showSteps.append("group-selection")
+            ksdata.showSteps.extend(["tasksel", "group-selection"])
 
     if not interactive:
         for n in ksdata.skipSteps:
-- 
1.6.0.3

_______________________________________________
Anaconda-devel-list mailing list
Anaconda-devel-list@xxxxxxxxxx
https://www.redhat.com/mailman/listinfo/anaconda-devel-list

[Index of Archives]     [Kickstart]     [Fedora Users]     [Fedora Legacy List]     [Fedora Maintainers]     [Fedora Desktop]     [Fedora SELinux]     [Big List of Linux Books]     [Yosemite News]     [Yosemite Photos]     [KDE Users]     [Fedora Tools]
  Powered by Linux