diff options
author | Matt Wilson <msw@redhat.com> | 2000-05-09 16:36:35 +0000 |
---|---|---|
committer | Matt Wilson <msw@redhat.com> | 2000-05-09 16:36:35 +0000 |
commit | 89d83edd6118dd5e86403934978311d580f79e69 (patch) | |
tree | c9fa2503d09ac3e6737e1cf0863f463b0a0c321f /lilo.py | |
parent | 937102d888682b6fa83e51e1422665ed2558d8e0 (diff) | |
download | anaconda-89d83edd6118dd5e86403934978311d580f79e69.tar.gz anaconda-89d83edd6118dd5e86403934978311d580f79e69.tar.xz anaconda-89d83edd6118dd5e86403934978311d580f79e69.zip |
fix for lilo's edd support
Diffstat (limited to 'lilo.py')
-rw-r--r-- | lilo.py | 6 |
1 files changed, 4 insertions, 2 deletions
@@ -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() |