summaryrefslogtreecommitdiffstats
path: root/milo.py
diff options
context:
space:
mode:
Diffstat (limited to 'milo.py')
-rw-r--r--milo.py9
1 files changed, 5 insertions, 4 deletions
diff --git a/milo.py b/milo.py
index 792ce12d7..49c52aef2 100644
--- a/milo.py
+++ b/milo.py
@@ -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