summaryrefslogtreecommitdiffstats
path: root/lilo.py
diff options
context:
space:
mode:
authorMatt Wilson <msw@redhat.com>2001-03-16 05:00:37 +0000
committerMatt Wilson <msw@redhat.com>2001-03-16 05:00:37 +0000
commit5b922589a6c8b29efdec0b34c095b908661f946d (patch)
tree094981d92b1326ae3e9d3e72b71940725fd0abdc /lilo.py
parent3eec5834f59520c99b808ad99b6e709d96f5dc58 (diff)
downloadanaconda-5b922589a6c8b29efdec0b34c095b908661f946d.tar.gz
anaconda-5b922589a6c8b29efdec0b34c095b908661f946d.tar.xz
anaconda-5b922589a6c8b29efdec0b34c095b908661f946d.zip
If a label exists in the lilo.conf, *don't* reuse it. Make a fresh
one to add to the new lilo.conf (#31194 and probably MANY MANY more)
Diffstat (limited to 'lilo.py')
-rw-r--r--lilo.py1
1 files changed, 1 insertions, 0 deletions
diff --git a/lilo.py b/lilo.py
index 2a8e7cdb0..8d933cae4 100644
--- a/lilo.py
+++ b/lilo.py
@@ -389,6 +389,7 @@ class LiloConfiguration:
try:
(fsType, sl) = lilo.getImage(label)
lilo.delImage(label)
+ sl = LiloConfigFile(imageType = "image", path = kernelFile)
except IndexError, msg:
sl = LiloConfigFile(imageType = "image", path = kernelFile)