summaryrefslogtreecommitdiffstats
path: root/booty/ppc.py
diff options
context:
space:
mode:
authorHans de Goede <hdegoede@redhat.com>2009-08-04 12:34:08 +0200
committerHans de Goede <hdegoede@redhat.com>2009-08-05 11:36:40 +0200
commit829c4fdfcdca1207f5bb40fbdf1a67a7e0859064 (patch)
treea62c5ef73129a9d2deba57a34bff762fec229c42 /booty/ppc.py
parent81cc86e56a897fc3778e1ee806600bfce2af4311 (diff)
downloadanaconda-829c4fdfcdca1207f5bb40fbdf1a67a7e0859064.tar.gz
anaconda-829c4fdfcdca1207f5bb40fbdf1a67a7e0859064.tar.xz
anaconda-829c4fdfcdca1207f5bb40fbdf1a67a7e0859064.zip
Pass InstalltData to booty __init__ as it needs access to many of its members
Currently we are passing storage and network to booty's __init__, for writing the necessary kernel cmdline parameters for dracut for international consoles / keyboards booty will also need access to keyboard and language, instead of passing these all in seperately just pass InstalltData to booty's __init__. This is a preparation patch for writing out the dracut kernel cmdline commands for i18n support.
Diffstat (limited to 'booty/ppc.py')
-rw-r--r--booty/ppc.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/booty/ppc.py b/booty/ppc.py
index 2143c14c8..5b96be74f 100644
--- a/booty/ppc.py
+++ b/booty/ppc.py
@@ -174,8 +174,8 @@ class ppcBootloaderInfo(bootloaderInfo):
return 0
- def __init__(self, storage, network):
- bootloaderInfo.__init__(self, storage, network)
+ def __init__(self, instData):
+ bootloaderInfo.__init__(self, instData)
self.useYabootVal = 1
self.kernelLocation = "/boot"
self.configfile = "/etc/yaboot.conf"