summaryrefslogtreecommitdiffstats
path: root/rescue.py
diff options
context:
space:
mode:
authorMike Fulbright <msf@redhat.com>2002-11-26 21:15:35 +0000
committerMike Fulbright <msf@redhat.com>2002-11-26 21:15:35 +0000
commite35e7089199e88b14b3a60c815156f7f9a6565da (patch)
tree2ded5fff8ad9ed0c5e30124766f4873c355d1306 /rescue.py
parentc3d7295553b69575158417621024412b2935c9ec (diff)
downloadanaconda-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.py10
1 files changed, 9 insertions, 1 deletions
diff --git a/rescue.py b/rescue.py
index eb8ecd379..b32b94ddc 100644
--- a/rescue.py
+++ b/rescue.py
@@ -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)