summaryrefslogtreecommitdiffstats
path: root/silo.py
diff options
context:
space:
mode:
authorMatt Wilson <msw@redhat.com>2000-06-19 23:28:03 +0000
committerMatt Wilson <msw@redhat.com>2000-06-19 23:28:03 +0000
commit54fb27ca6ded8255412e688006009ff2c3147c1f (patch)
tree2c12b22f7e447414f54b68ac2272bd919b35cb1b /silo.py
parentfbc8eec739b218cea9f23a759b8a691a55cc1696 (diff)
downloadanaconda-54fb27ca6ded8255412e688006009ff2c3147c1f.tar.gz
anaconda-54fb27ca6ded8255412e688006009ff2c3147c1f.tar.xz
anaconda-54fb27ca6ded8255412e688006009ff2c3147c1f.zip
finalize silo conversion to new lilo base
Diffstat (limited to 'silo.py')
-rw-r--r--silo.py11
1 files changed, 1 insertions, 10 deletions
diff --git a/silo.py b/silo.py
index b9193f3d1..d94ebdbd1 100644
--- a/silo.py
+++ b/silo.py
@@ -327,7 +327,7 @@ class SiloInstall:
if self.siloAppend:
sl.addEntry('append', '"%s"' % self.siloAppend)
- silo.addImage ("image", kernelFile, sl)
+ silo.addImage (sl)
for (label, device) in otherList:
try:
@@ -351,15 +351,6 @@ class SiloInstall:
# lilo.delImage (name)
# os.remove ('/tmp/' + device)
- # pass 2, remove duplicate entries
- labels = []
-
- for (siloType, name, config) in silo.images:
- if not name in labels:
- labels.append (name)
- else: # duplicate entry, first entry wins
- silo.delImage (name)
-
if fstab.getBootDevice() != fstab.getRootDevice()[0]:
silo.write(instRoot + "/boot/silo.conf")
try: