summaryrefslogtreecommitdiffstats
path: root/iutil.py
diff options
context:
space:
mode:
authorDavid Cantrell <dcantrell@redhat.com>2006-03-24 21:01:36 +0000
committerDavid Cantrell <dcantrell@redhat.com>2006-03-24 21:01:36 +0000
commit752f4a828a20c5bee9c77b21ac334796d8ec1d5b (patch)
tree8d776d3fb983ed80bf2630e2f5b3c02e06832e7b /iutil.py
parenta08b8d82c731893a3c0010fec81324526cfaf8ad (diff)
downloadanaconda-752f4a828a20c5bee9c77b21ac334796d8ec1d5b.tar.gz
anaconda-752f4a828a20c5bee9c77b21ac334796d8ec1d5b.tar.xz
anaconda-752f4a828a20c5bee9c77b21ac334796d8ec1d5b.zip
Get ready for a surprise...
not really. It's just iutil.getArch() -> rhpl.getArch() updates.
Diffstat (limited to 'iutil.py')
-rw-r--r--iutil.py12
1 files changed, 6 insertions, 6 deletions
diff --git a/iutil.py b/iutil.py
index 0c115864f..69bbd8c8b 100644
--- a/iutil.py
+++ b/iutil.py
@@ -341,7 +341,7 @@ def makeDriveDeviceNodes():
# this is disgusting and I feel very dirty
def hasiSeriesNativeStorage():
- if getArch() != "ppc":
+ if rhpl.getArch() != "ppc":
return
f = open("/proc/modules", "r")
@@ -359,7 +359,7 @@ def hasiSeriesNativeStorage():
# return the ppc machine variety type
def getPPCMachine():
- if getArch() != "ppc":
+ if rhpl.getArch() != "ppc":
return 0
machine = rhpl.getPPCMachine()
@@ -374,7 +374,7 @@ def getPPCMachine():
def getPPCMacID():
machine = None
- if getArch() != "ppc":
+ if rhpl.getArch() != "ppc":
return 0
if getPPCMachine() != "PMac":
return 0
@@ -396,7 +396,7 @@ def getPPCMacGen():
# XXX: should NuBus be here?
pmacGen = ['OldWorld', 'NewWorld', 'NuBus']
- if getArch() != "ppc":
+ if rhpl.getArch() != "ppc":
return 0
if getPPCMachine() != "PMac":
return 0
@@ -422,7 +422,7 @@ def getPPCMacGen():
# return if pmac machine is it an iBook/PowerBook
def getPPCMacBook():
- if getArch() != "ppc":
+ if rhpl.getArch() != "ppc":
return 0
if getPPCMachine() != "PMac":
return 0
@@ -439,7 +439,7 @@ def getPPCMacBook():
def hasNX():
"""Convenience function to see if a machine supports the nx bit. We want
to install an smp kernel if NX is present since NX requires PAE (#173245)"""
- if getArch() not in ("i386", "x86_64"):
+ if rhpl.getArch() not in ("i386", "x86_64"):
return False
f = open("/proc/cpuinfo", "r")
lines = f.readlines()