summaryrefslogtreecommitdiffstats
path: root/lilo.py
diff options
context:
space:
mode:
authorErik Troan <ewt@redhat.com>2001-02-06 20:44:14 +0000
committerErik Troan <ewt@redhat.com>2001-02-06 20:44:14 +0000
commit6cad332d81b7e468da1af15e3ee47d77e6457361 (patch)
tree18c2963740312d2c414ccf2b30b1f781a0fb5312 /lilo.py
parent8a172883f7f99bb4a593ec8c933a3efa6a16a3d1 (diff)
downloadanaconda-6cad332d81b7e468da1af15e3ee47d77e6457361.tar.gz
anaconda-6cad332d81b7e468da1af15e3ee47d77e6457361.tar.xz
anaconda-6cad332d81b7e468da1af15e3ee47d77e6457361.zip
turn off linear on upgrades if we're turning on lba32
Diffstat (limited to 'lilo.py')
-rw-r--r--lilo.py2
1 files changed, 2 insertions, 0 deletions
diff --git a/lilo.py b/lilo.py
index 5973d98e3..62613cbc3 100644
--- a/lilo.py
+++ b/lilo.py
@@ -317,6 +317,8 @@ class LiloConfiguration:
if not lilo.testEntry('lba32') and not lilo.testEntry('linear'):
if self.edd and useLBA32:
lilo.addEntry("lba32", replace = 0)
+ if lilo.testEntry("linear"):
+ lilo.delEntry("linear")
elif self.liloLinear:
lilo.addEntry("linear", replace = 0)