diff options
author | Mike Fulbright <msf@redhat.com> | 2002-11-26 21:15:35 +0000 |
---|---|---|
committer | Mike Fulbright <msf@redhat.com> | 2002-11-26 21:15:35 +0000 |
commit | e35e7089199e88b14b3a60c815156f7f9a6565da (patch) | |
tree | 2ded5fff8ad9ed0c5e30124766f4873c355d1306 /rescue.py | |
parent | c3d7295553b69575158417621024412b2935c9ec (diff) | |
download | anaconda-e35e7089199e88b14b3a60c815156f7f9a6565da.tar.gz anaconda-e35e7089199e88b14b3a60c815156f7f9a6565da.tar.xz anaconda-e35e7089199e88b14b3a60c815156f7f9a6565da.zip |
added code to get rescue mode working again
Diffstat (limited to 'rescue.py')
-rw-r--r-- | rescue.py | 10 |
1 files changed, 9 insertions, 1 deletions
@@ -32,6 +32,9 @@ class RescueInterface: def waitWindow(self, title, text): return WaitWindow(self.screen, title, text) + def progressWindow(self, title, text, total): + return ProgressWindow(self.screen, title, text, total) + def messageWindow(self, title, text, type = "ok"): if type == "ok": ButtonChoiceWindow(self.screen, _(title), _(text), @@ -152,10 +155,15 @@ def runRescue(instPath, mountroot, id): root = disks[choice] rootmounted = 0 + if root: try: fs = fsset.FileSystemSet() - rc = upgrade.mountRootPartition(intf, root, fs, instPath, + + # only pass first two parts of tuple for root, since third + # element is a comment we dont want + rc = upgrade.mountRootPartition(intf, root[:2], + fs, instPath, allowDirty = 1, warnDirty = 1, readOnly = readOnly) |