[PATCH] Don't unconditionally unskip the partition step on failure (#567889).

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

 



Remember that this step does not exist in text mode and we therefore cannot
add it back into the step list when autopart fails.
---
 storage/partitioning.py |    4 +++-
 1 files changed, 3 insertions(+), 1 deletions(-)

diff --git a/storage/partitioning.py b/storage/partitioning.py
index 87154ee..7001d41 100644
--- a/storage/partitioning.py
+++ b/storage/partitioning.py
@@ -232,7 +232,9 @@ def doAutoPartition(anaconda):
         anaconda.storage.reset()
         if not anaconda.ksdata:
             extra = ""
-            anaconda.dispatch.skipStep("partition", skip = 0)
+
+            if anaconda.displayMode != "t":
+                anaconda.dispatch.skipStep("partition", skip = 0)
         else:
             extra = _("\n\nPress 'OK' to exit the installer.")
         anaconda.intf.messageWindow(_("Error Partitioning"),
-- 
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