[PATCH 1/2] Skip the filter/cleardisk steps on upgrades, too (#568334).

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

 



We run upgrade.setSteps late, from the UI should you select "upgrade" from
the proper screen.  This means the earlier text.setSteps gets overridden so
we need to add a permanent=1 to all these.
---
 text.py |    8 ++++----
 1 files changed, 4 insertions(+), 4 deletions(-)

diff --git a/text.py b/text.py
index e841c70..38aebc2 100644
--- a/text.py
+++ b/text.py
@@ -663,10 +663,10 @@ class InstallInterface(InstallInterfaceBase):
         self.screen.finish()
 
     def setSteps(self, anaconda):
-        anaconda.dispatch.skipStep("filtertype")
-        anaconda.dispatch.skipStep("filter")
-        anaconda.dispatch.skipStep("cleardiskssel")
-        anaconda.dispatch.skipStep("group-selection")
+        anaconda.dispatch.skipStep("filtertype", permanent=1)
+        anaconda.dispatch.skipStep("filter", permanent=1)
+        anaconda.dispatch.skipStep("cleardiskssel", permanent=1)
+        anaconda.dispatch.skipStep("group-selection", permanent=1)
 
 def killSelf(screen):
     screen.finish()
-- 
1.6.5.1

_______________________________________________
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