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

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

 



-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

On Wed, 24 Feb 2010, Chris Lumens wrote:

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"),

Ack.

- -- David Cantrell <dcantrell@xxxxxxxxxx>
Red Hat / Honolulu, HI

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.10 (GNU/Linux)

iEYEARECAAYFAkuFuM0ACgkQ5hsjjIy1Vkl/vgCaAgCYL2OmDAzR6TF7kQ8XAyLo
+LgAn0CISjeFFh3dIKJCWH2fbd2Nx/ew
=fmc+
-----END PGP SIGNATURE-----

_______________________________________________
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