diff options
author | David Cantrell <dcantrell@redhat.com> | 2006-03-24 21:01:36 +0000 |
---|---|---|
committer | David Cantrell <dcantrell@redhat.com> | 2006-03-24 21:01:36 +0000 |
commit | 752f4a828a20c5bee9c77b21ac334796d8ec1d5b (patch) | |
tree | 8d776d3fb983ed80bf2630e2f5b3c02e06832e7b /iutil.py | |
parent | a08b8d82c731893a3c0010fec81324526cfaf8ad (diff) | |
download | anaconda-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.py | 12 |
1 files changed, 6 insertions, 6 deletions
@@ -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() |