summaryrefslogtreecommitdiffstats
path: root/todo.py
diff options
context:
space:
mode:
authorMatt Wilson <msw@redhat.com>1999-09-22 05:04:10 +0000
committerMatt Wilson <msw@redhat.com>1999-09-22 05:04:10 +0000
commit1ae533b2c9e59aadf33e500649e1de9b903a67a4 (patch)
treec966e7b34a4651fe9f7bc444d45c0198c3a084e4 /todo.py
parent7e5ed90aa9fba82756569d22667e5829056e0c59 (diff)
downloadanaconda-1ae533b2c9e59aadf33e500649e1de9b903a67a4.tar.gz
anaconda-1ae533b2c9e59aadf33e500649e1de9b903a67a4.tar.xz
anaconda-1ae533b2c9e59aadf33e500649e1de9b903a67a4.zip
fix for hd/ftp/http
Diffstat (limited to 'todo.py')
-rw-r--r--todo.py11
1 files changed, 10 insertions, 1 deletions
diff --git a/todo.py b/todo.py
index 0a23e7181..7f19213be 100644
--- a/todo.py
+++ b/todo.py
@@ -317,6 +317,8 @@ class InstSyslog:
if not self.pid:
if os.access ("./anaconda", os.X_OK):
path = "./anaconda"
+ elif os.access ("/usr/bin/anaconda.real", os.X_OK):
+ path = "/usr/bin/anaconda.real"
else:
path = "/usr/bin/anaconda"
os.execv (path, ("syslogd", "--syslogd", root, log))
@@ -335,6 +337,7 @@ class ToDo:
self.comps = None
self.instPath = rootPath
self.setupFilesystems = setupFilesystems
+ self.madeFilesystems = 0
self.installSystem = installSystem
self.language = Language ()
self.network = Network ()
@@ -497,7 +500,8 @@ class ToDo:
os.remove( '/tmp/' + device);
def makeFilesystems(self, createSwap = 1, createFs = 1):
- if (not self.setupFilesystems): return
+ if not self.setupFilesystems: return
+ if self.madeFilesystems: return
# let's make the RAID devices first -- the fstab will then proceed
# naturally
@@ -575,6 +579,7 @@ class ToDo:
os.remove('/tmp/' + device)
w.pop()
+ self.madeFilesystems = 1
def addMount(self, device, location, fsystem, reformat = 1):
if fsystem == "swap":
@@ -1352,6 +1357,10 @@ class ToDo:
probs = probs + prob
self.intf.messageWindow (_("Disk Space"), probs)
+
+ if self.setupFilesystems:
+ self.mountFilesystems ()
+
return 1
# This should close the RPM database so that you can