FAQ Search Today's Posts Mark Forums Read
» Video Reviews

» Linux Archive

Linux-archive is a website aiming to archive linux email lists and to make them easily accessible for linux users/developers.


» Sponsor

» Partners

» Sponsor

Go Back   Linux Archive > Gentoo > Gentoo Development

 
 
LinkBack Thread Tools
 
Old 10-13-2010, 06:53 PM
"Brian C. Lane"
 
Default Rescan disks when moving back through upgrade check (#635778)

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@redhat.com
https://www.redhat.com/mailman/listinfo/anaconda-devel-list
 

Thread Tools




All times are GMT. The time now is 11:41 PM.

VBulletin, Copyright ©2000 - 2014, Jelsoft Enterprises Ltd.
Content Relevant URLs by vBSEO ©2007, Crawlability, Inc.
Copyright 2007 - 2008, www.linux-archive.org