summaryrefslogtreecommitdiffstats
path: root/isys/isys.py
diff options
context:
space:
mode:
authorPeter Jones <pjones@redhat.com>2006-11-08 19:16:51 +0000
committerPeter Jones <pjones@redhat.com>2006-11-08 19:16:51 +0000
commit9fcd2cb682c842a821356fd6b3aef1c7935d4c43 (patch)
tree7dbba11471f7679b1c05314808ca502cbd925df6 /isys/isys.py
parent60bd5a955c3461fe8540ff7f66e425c931ba779e (diff)
downloadanaconda-9fcd2cb682c842a821356fd6b3aef1c7935d4c43.tar.gz
anaconda-9fcd2cb682c842a821356fd6b3aef1c7935d4c43.tar.xz
anaconda-9fcd2cb682c842a821356fd6b3aef1c7935d4c43.zip
- don't segfault when importing isys on ppc (#214653)
Diffstat (limited to 'isys/isys.py')
-rw-r--r--isys/isys.py2
1 files changed, 2 insertions, 0 deletions
diff --git a/isys/isys.py b/isys/isys.py
index 7fa0ec4f7..d50b0b2c2 100644
--- a/isys/isys.py
+++ b/isys/isys.py
@@ -440,6 +440,8 @@ def getopt(*args):
return apply(_isys.getopt, args)
def doProbeBiosDisks():
+ if rhpl.getArch() != "i386":
+ return None
return _isys.biosDiskProbe()
def doGetBiosDisk(mbrSig):