diff options
-rw-r--r-- | iw/examine_gui.py | 6 | ||||
-rw-r--r-- | storage/__init__.py | 2 |
2 files changed, 8 insertions, 0 deletions
diff --git a/iw/examine_gui.py b/iw/examine_gui.py index 334f3d1e4..3a62e06c5 100644 --- a/iw/examine_gui.py +++ b/iw/examine_gui.py @@ -90,6 +90,12 @@ class UpgradeExamineWindow (InstallWindow): else: self.doupgrade = self.anaconda.id.upgrade + # we might get here after storage reset that obsoleted + # root device objects we had found + if not self.anaconda.id.rootParts: + self.anaconda.id.rootParts = upgrade.findExistingRoots(self.anaconda) + upgrade.setUpgradeRoot(self.anaconda) + self.parts = self.anaconda.id.rootParts vbox = gtk.VBox (False, 10) diff --git a/storage/__init__.py b/storage/__init__.py index 623eff11b..572c7448e 100644 --- a/storage/__init__.py +++ b/storage/__init__.py @@ -287,6 +287,8 @@ class Storage(object): luksDict=self.__luksDevs) self.devicetree.populate() self.fsset = FSSet(self.devicetree) + self.anaconda.id.rootParts = None + self.anaconda.id.upgradeRoot = None w.pop() @property |