diff options
author | Matt Wilson <msw@redhat.com> | 1999-10-09 21:35:49 +0000 |
---|---|---|
committer | Matt Wilson <msw@redhat.com> | 1999-10-09 21:35:49 +0000 |
commit | 68cf61cf09f64376e069a9f8dced472ba2b8a89f (patch) | |
tree | 152ba448ef36c0ea98d493e6b3279c722e7a5fb7 /milo.py | |
parent | 543d9eda4dd00eb775f2f4e7822cf18f4a96c3e6 (diff) | |
download | anaconda-68cf61cf09f64376e069a9f8dced472ba2b8a89f.tar.gz anaconda-68cf61cf09f64376e069a9f8dced472ba2b8a89f.tar.xz anaconda-68cf61cf09f64376e069a9f8dced472ba2b8a89f.zip |
make the symlink here
Diffstat (limited to 'milo.py')
-rw-r--r-- | milo.py | 9 |
1 files changed, 5 insertions, 4 deletions
@@ -45,10 +45,11 @@ class MiloInstall: try: os.mkdir (confprefix) os.remove(todo.instPath + "/etc/aboot.conf") - os.symlink("../boot/etc/aboot.conf", - self.todo.instPath + "/etc/aboot.conf") except: pass + os.symlink("../boot/etc/aboot.conf", + self.todo.instPath + "/etc/aboot.conf") + else: confprefix = self.todo.instPath + "/etc" kernelprefix = '/boot/' @@ -81,13 +82,13 @@ class MiloInstall: iutil.execWithRedirect('/sbin/swriteboot', args, stdout = None, - root = todo.instPath) + root = self.todo.instPath) args = ("abootconf", ("/dev/%s" % abootdev), str (partition)) iutil.execWithRedirect('/sbin/abootconf', args, stdout = None, - root = todo.instPath) + root = self.todo.instPath) def writeMilo (self): if self.todo.mounts.has_key ('/boot'): hasboot = 1 |