diff options
author | Peter Jones <pjones@redhat.com> | 2008-03-04 15:33:41 -0500 |
---|---|---|
committer | Peter Jones <pjones@pjones2.localdomain> | 2008-03-04 15:33:41 -0500 |
commit | 0c16b5c977e1144dd230826f3665c313e33d01e2 (patch) | |
tree | 2ac681399dae556c5ef78ea7a64f369e01f3fc34 | |
parent | 18557aa8d499ff9eb7cfd194d7e5b812684bf8ab (diff) | |
download | anaconda-0c16b5c977e1144dd230826f3665c313e33d01e2.tar.gz anaconda-0c16b5c977e1144dd230826f3665c313e33d01e2.tar.xz anaconda-0c16b5c977e1144dd230826f3665c313e33d01e2.zip |
Rework isEfi() to be slightly more conservative.
-rw-r--r-- | iutil.py | 10 |
1 files changed, 5 insertions, 5 deletions
@@ -443,11 +443,11 @@ def isEfi(): if efi is not None: return efi - # XXX need to make sure efivars is loaded... - if not os.path.exists("/sys/firmware/efi"): - efi = False - else: - efi = True + efi = False + if rhpl.getArch() in ("ia64", "i386", "x86_64"): + # XXX need to make sure efivars is loaded... + if os.path.exists("/sys/firmware/efi"): + efi = True return efi |