diff options
author | Jeremy Katz <katzj@redhat.com> | 2009-06-30 15:58:08 -0400 |
---|---|---|
committer | Jeremy Katz <katzj@redhat.com> | 2009-07-01 10:21:37 -0400 |
commit | 730ced61e467e10ed620c2a6ee18c7695837a6b8 (patch) | |
tree | 269cebf5a97eea963d083ce99284848df69a99eb /booty/ppc.py | |
parent | d688d02f8482492df54f703c658569fe2e1cad15 (diff) | |
download | anaconda-730ced61e467e10ed620c2a6ee18c7695837a6b8.tar.gz anaconda-730ced61e467e10ed620c2a6ee18c7695837a6b8.tar.xz anaconda-730ced61e467e10ed620c2a6ee18c7695837a6b8.zip |
Use iutil arch specifiers rather than rhpl
Switch to using iutil.isFoo() methods rather than checking the
value of rhpl.getArch()
Diffstat (limited to 'booty/ppc.py')
-rw-r--r-- | booty/ppc.py | 7 |
1 files changed, 3 insertions, 4 deletions
diff --git a/booty/ppc.py b/booty/ppc.py index 8cd427532..e5320c343 100644 --- a/booty/ppc.py +++ b/booty/ppc.py @@ -5,14 +5,13 @@ from booty import BootyNoKernelWarning from util import getDiskPart from bootloaderInfo import * import iutil -import rhpl class ppcBootloaderInfo(bootloaderInfo): def getBootDevs(self, bl): import parted retval = [] - machine = rhpl.getPPCMachine() + machine = iutil.getPPCMachine() if machine == 'pSeries': for dev in self.storage.fsset.devices: @@ -74,7 +73,7 @@ class ppcBootloaderInfo(bootloaderInfo): f.write("enablenetboot\n") yabootProg = "/sbin/mkofboot" - if rhpl.getPPCMachine() == "PMac": + if iutil.getPPCMachine() == "PMac": # write out the first hfs/hfs+ partition as being macosx for (label, longlabel, device) in chainList: if ((not label) or (label == "")): @@ -84,7 +83,7 @@ class ppcBootloaderInfo(bootloaderInfo): f.write("magicboot=/usr/lib/yaboot/ofboot\n") - elif rhpl.getPPCMachine() == "pSeries": + elif iutil.getPPCMachine() == "pSeries": f.write("nonvram\n") f.write("fstype=raw\n") |