[PATCH f14-branch master] Rescan disks when moving back through upgrade check (#635778)

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

 



NOTE: In the process of fixing this previously I lost track of the original
NOTE: bug and didn't restest with the original conditions (an upgrade).
NOTE: Give it a try with TC1.1 and http://bcl.fedorapeople.org/updates/635778.img
NOTE: Tested with F13 to F14 upgrade, with empty disk and with formatted disk

---
 pyanaconda/iw/examine_gui.py |    8 ++++++++
 1 files changed, 8 insertions(+), 0 deletions(-)

diff --git a/pyanaconda/iw/examine_gui.py b/pyanaconda/iw/examine_gui.py
index 1b8fbbf..cfdf400 100644
--- a/pyanaconda/iw/examine_gui.py
+++ b/pyanaconda/iw/examine_gui.py
@@ -92,6 +92,14 @@ class UpgradeExamineWindow (InstallWindow):
 	else:
 	    self.doupgrade = self.anaconda.upgrade
 
+        if anaconda.dir == DISPATCH_BACK:
+            # temporarily unset storage.clearPartType so that all devices will be
+            # found during storage reset
+            clearPartType = self.anaconda.storage.clearPartType
+            self.anaconda.storage.clearPartType = None
+            self.anaconda.storage.reset()
+            self.anaconda.storage.clearPartType = clearPartType
+
         # we might get here after storage reset that obsoleted
         # root device objects we had found
         if not self.anaconda.rootParts:
-- 
1.7.2.3

_______________________________________________
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