diff options
author | Erik Troan <ewt@redhat.com> | 2001-06-20 02:07:35 +0000 |
---|---|---|
committer | Erik Troan <ewt@redhat.com> | 2001-06-20 02:07:35 +0000 |
commit | 3909ecc3361e3a5a223a55147d7881275907b54d (patch) | |
tree | 75adb50975bff072b1100696b7fa6f67e3293868 /rescue.py | |
parent | 99da1533c688ec3be0af902d71943c41b8ac4f4f (diff) | |
download | anaconda-3909ecc3361e3a5a223a55147d7881275907b54d.tar.gz anaconda-3909ecc3361e3a5a223a55147d7881275907b54d.tar.xz anaconda-3909ecc3361e3a5a223a55147d7881275907b54d.zip |
merge from (now defunct) anaconda-dispatch branch
Diffstat (limited to 'rescue.py')
-rw-r--r-- | rescue.py | 26 |
1 files changed, 14 insertions, 12 deletions
@@ -2,9 +2,7 @@ import upgrade from snack import * from text import WaitWindow, OkCancelWindow from translate import _ -import _balkan import sys -import raid import os from log import log import isys @@ -26,25 +24,29 @@ class RescueInterface: def runRescue(url, serial, mountroot): - from fstab import NewtFstab +# +# XXX - disabling mounting of existing installations +# +# from fstab import NewtFstab fstab = None - log.open (serial, 0, 0, 1) - for file in [ "services", "protocols", "group" ]: os.symlink('/mnt/runtime/etc/' + file, '/etc/' + file) if (not mountroot): os.execv("/bin/sh", [ "-/bin/sh" ]) - try: - fstab = NewtFstab(1, serial, 0, 0, None, None, None, 0, [], 0, 0, - requireBlockDevices = 0) - except SystemError, text: - print _("WARNING: no valid block devices were found.\n") - except: - print _("ERROR: unknown error encountered reading partition tables.\n") +# +# XXX - disabling mounting of existing installations +# +# try: +# fstab = NewtFstab(1, serial, 0, 0, None, None, None, 0, [], 0, 0, +# requireBlockDevices = 0) +# except SystemError, text: +# print _("WARNING: no valid block devices were found.\n") +# except: +# print _("ERROR: unknown error encountered reading partition tables.\n") if not fstab: os.execv("/bin/sh", [ "-/bin/sh" ]) |