diff options
author | Matt Wilson <msw@redhat.com> | 1999-08-21 00:35:56 +0000 |
---|---|---|
committer | Matt Wilson <msw@redhat.com> | 1999-08-21 00:35:56 +0000 |
commit | 6406efe5cc1a7e3d09753297fa0ec6da26d3d7e2 (patch) | |
tree | 15ccdfc9400d3c7215a60a8ee07ff6264ba71383 /todo.py | |
parent | 0635c83068027dadac19cddabbbe31a16ee3aa8a (diff) | |
download | anaconda-6406efe5cc1a7e3d09753297fa0ec6da26d3d7e2.tar.gz anaconda-6406efe5cc1a7e3d09753297fa0ec6da26d3d7e2.tar.xz anaconda-6406efe5cc1a7e3d09753297fa0ec6da26d3d7e2.zip |
write lilo.conf _after_ we make the changes
Diffstat (limited to 'todo.py')
-rw-r--r-- | todo.py | 3 |
1 files changed, 2 insertions, 1 deletions
@@ -577,7 +577,6 @@ class ToDo: kernelFile = "/boot/vmlinuz-" + kernelVersion self.lilo.addImage ("image", kernelFile, sl) - self.lilo.write(self.instPath + "/etc/lilo.conf") for (type, name, config) in self.lilo.images: # remove entries for missing kernels (upgrade) @@ -592,6 +591,8 @@ class ToDo: self.lilo.delImage (name) os.remove ('/tmp/' + device) + self.lilo.write(self.instPath + "/etc/lilo.conf") + iutil.execWithRedirect(self.instPath + '/sbin/lilo' , [ "lilo", "-r", self.instPath ], stdout = None) |