summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMatt Wilson <msw@redhat.com>2000-05-09 16:36:35 +0000
committerMatt Wilson <msw@redhat.com>2000-05-09 16:36:35 +0000
commit89d83edd6118dd5e86403934978311d580f79e69 (patch)
treec9fa2503d09ac3e6737e1cf0863f463b0a0c321f
parent937102d888682b6fa83e51e1422665ed2558d8e0 (diff)
downloadanaconda-89d83edd6118dd5e86403934978311d580f79e69.tar.gz
anaconda-89d83edd6118dd5e86403934978311d580f79e69.tar.xz
anaconda-89d83edd6118dd5e86403934978311d580f79e69.zip
fix for lilo's edd support
-rw-r--r--lilo.py6
1 files changed, 4 insertions, 2 deletions
diff --git a/lilo.py b/lilo.py
index c0721f3af..64de05211 100644
--- a/lilo.py
+++ b/lilo.py
@@ -2,7 +2,6 @@ import string
import os
import isys
import iutil
-import edd
class LiloConfigFile:
def __repr__ (self, tab = 0):
@@ -255,7 +254,7 @@ class LiloConfiguration:
# XXX edd overrides linear, lba32/linear are mutually exclusive
if self.edd:
lilo.addEntry("lba32", replace = 0)
- else if self.liloLinear:
+ elif self.liloLinear:
lilo.addEntry("linear", replace = 0)
smpInstalled = (hdList.has_key('kernel-smp') and
@@ -372,6 +371,9 @@ class LiloConfiguration:
self.liloAppend = None
self.default = None
self.initrdsMade = {}
+ # XXX only i386 supports edd, nothing else should
+ # instantiate this class
+ import edd
self.edd = edd.detect()