summaryrefslogtreecommitdiffstats
path: root/lilo.py
diff options
context:
space:
mode:
authorMatt Wilson <msw@redhat.com>2000-05-09 17:21:19 +0000
committerMatt Wilson <msw@redhat.com>2000-05-09 17:21:19 +0000
commit4039270a6e8e8db1167fd7cfd69ca6d8713aaed8 (patch)
tree7bb444ef9092fb2c59396647e32d4e424e26119d /lilo.py
parent78b963e8a762936644dd62f88a1753d1dcb931b8 (diff)
downloadanaconda-4039270a6e8e8db1167fd7cfd69ca6d8713aaed8.tar.gz
anaconda-4039270a6e8e8db1167fd7cfd69ca6d8713aaed8.tar.xz
anaconda-4039270a6e8e8db1167fd7cfd69ca6d8713aaed8.zip
this is broken
Diffstat (limited to 'lilo.py')
-rw-r--r--lilo.py7
1 files changed, 5 insertions, 2 deletions
diff --git a/lilo.py b/lilo.py
index 64de05211..a151aca43 100644
--- a/lilo.py
+++ b/lilo.py
@@ -373,8 +373,11 @@ class LiloConfiguration:
self.initrdsMade = {}
# XXX only i386 supports edd, nothing else should
# instantiate this class
- import edd
- self.edd = edd.detect()
+ if iutil.getArch() == "i386":
+ import edd
+ self.edd = edd.detect()
+ else:
+ self.edd = 0
if __name__ == "__main__":