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

[PATCH rhel6-branch] Don't show the cleardisk dialog on upgrades (#679725).



This has the disadvantage of making it so you cannot pick a different disk to
install your bootloader to should you choose to create a new bootloader config.
However, that is probably less confusing than the current situation.
---
 upgrade.py |    5 ++---
 1 files changed, 2 insertions(+), 3 deletions(-)

diff --git a/upgrade.py b/upgrade.py
index 58960ec..088dcdb 100644
--- a/upgrade.py
+++ b/upgrade.py
@@ -267,7 +267,6 @@ def setSteps(anaconda):
                 "welcome",
                 "filtertype",
                 "filter",
-                "cleardiskssel",
                 "installtype",
                 "storageinit",
                 "findrootparts",
@@ -298,6 +297,6 @@ def setSteps(anaconda):
 
     if not iutil.isX86():
         dispatch.skipStep("bootloader")
+        dispatch.skipStep("upgbootloader")
 
-    if not iutil.isX86():
-        dispatch.skipStep("upgbootloader")            
+    dispatch.skipStep("cleardiskssel", permanent=1)
-- 
1.7.1.1


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