summaryrefslogtreecommitdiffstats
path: root/upgrade.py
diff options
context:
space:
mode:
authorErik Troan <ewt@redhat.com>2001-02-22 20:46:26 +0000
committerErik Troan <ewt@redhat.com>2001-02-22 20:46:26 +0000
commit0217e463e81b0da7b0ce05ec8faf9d7f87e49a47 (patch)
treeae94970cf74ba3f0766eeb77fd53ebc5e8e169e5 /upgrade.py
parent213c4241ed89208234764c4a790566247278e787 (diff)
downloadanaconda-0217e463e81b0da7b0ce05ec8faf9d7f87e49a47.tar.gz
anaconda-0217e463e81b0da7b0ce05ec8faf9d7f87e49a47.tar.xz
anaconda-0217e463e81b0da7b0ce05ec8faf9d7f87e49a47.zip
let rescue mode be more tolerant of mount failures
Diffstat (limited to 'upgrade.py')
-rw-r--r--upgrade.py5
1 files changed, 3 insertions, 2 deletions
diff --git a/upgrade.py b/upgrade.py
index 788734b82..e15f83637 100644
--- a/upgrade.py
+++ b/upgrade.py
@@ -72,7 +72,8 @@ def findExistingRoots (intf, theFstab):
win.pop ()
return rootparts
-def mountRootPartition(intf, rootInfo, theFstab, instPath, allowDirty = 0):
+def mountRootPartition(intf, rootInfo, theFstab, instPath, allowDirty = 0,
+ raiseErrors = 0):
(root, rootFs) = rootInfo
mdList = raid.startAllRaid(theFstab.driveList())
@@ -100,4 +101,4 @@ def mountRootPartition(intf, rootInfo, theFstab, instPath, allowDirty = 0):
"shut down cleanly to upgrade."))
sys.exit(0)
- theFstab.mountFilesystems (instPath)
+ theFstab.mountFilesystems (instPath, raiseErrors = raiseErrors)