diff options
author | Matt Wilson <msw@redhat.com> | 1999-09-22 05:04:10 +0000 |
---|---|---|
committer | Matt Wilson <msw@redhat.com> | 1999-09-22 05:04:10 +0000 |
commit | 1ae533b2c9e59aadf33e500649e1de9b903a67a4 (patch) | |
tree | c966e7b34a4651fe9f7bc444d45c0198c3a084e4 /todo.py | |
parent | 7e5ed90aa9fba82756569d22667e5829056e0c59 (diff) | |
download | anaconda-1ae533b2c9e59aadf33e500649e1de9b903a67a4.tar.gz anaconda-1ae533b2c9e59aadf33e500649e1de9b903a67a4.tar.xz anaconda-1ae533b2c9e59aadf33e500649e1de9b903a67a4.zip |
fix for hd/ftp/http
Diffstat (limited to 'todo.py')
-rw-r--r-- | todo.py | 11 |
1 files changed, 10 insertions, 1 deletions
@@ -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 |