summaryrefslogtreecommitdiffstats
path: root/pyanaconda
diff options
context:
space:
mode:
authorDavid Lehman <dlehman@redhat.com>2012-11-09 15:09:17 -0600
committerBrian C. Lane <bcl@redhat.com>2012-11-09 16:05:15 -0800
commit179f3109856b92caff468c5075bd9d1bd3fb3fc4 (patch)
treed1a97078c0db42a5ba8edb4f2192a3c195493e7e /pyanaconda
parent65b4a9f45494bcfe992651e9bbddcc49f7705309 (diff)
downloadanaconda-179f3109856b92caff468c5075bd9d1bd3fb3fc4.tar.gz
anaconda-179f3109856b92caff468c5075bd9d1bd3fb3fc4.tar.xz
anaconda-179f3109856b92caff468c5075bd9d1bd3fb3fc4.zip
Post-custom sanity check determines storage spoke completeness. (#868925)
If the storage spoke was completed prior to entering the custom spoke and that visit introduced errors, the storage spoke status wasn't getting updated accordingly, allowing users with faulty configurations to proceed with a doomed install.
Diffstat (limited to 'pyanaconda')
-rw-r--r--pyanaconda/ui/gui/spokes/custom.py4
1 files changed, 4 insertions, 0 deletions
diff --git a/pyanaconda/ui/gui/spokes/custom.py b/pyanaconda/ui/gui/spokes/custom.py
index 7a3335235..ed1a0d1e9 100644
--- a/pyanaconda/ui/gui/spokes/custom.py
+++ b/pyanaconda/ui/gui/spokes/custom.py
@@ -70,6 +70,7 @@ from pyanaconda.storage.devicelibs import mdraid
from pyanaconda.storage.devices import LUKSDevice
from pyanaconda.ui.gui import GUIObject
+from pyanaconda.ui.gui import communication
from pyanaconda.ui.gui.spokes import NormalSpoke
from pyanaconda.ui.gui.spokes.storage import StorageChecker
from pyanaconda.ui.gui.spokes.lib.cart import SelectedDisksDialog
@@ -390,7 +391,10 @@ class CustomPartitioningSpoke(NormalSpoke, StorageChecker):
# set up bootloader and check the configuration
self.storage.setUpBootLoader()
+
+ StorageChecker.errors = []
StorageChecker.run(self)
+ communication.send_ready("StorageSpoke", justUpdate=True)
@property
def indirect(self):