summaryrefslogtreecommitdiffstats
path: root/booty/x86.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/x86.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/x86.py')
-rw-r--r--booty/x86.py6
1 files changed, 3 insertions, 3 deletions
diff --git a/booty/x86.py b/booty/x86.py
index 97354fc72..d9bebcb4c 100644
--- a/booty/x86.py
+++ b/booty/x86.py
@@ -578,15 +578,15 @@ class x86BootloaderInfo(efiBootloaderInfo):
return args
- def __init__(self, storage, network):
- bootloaderInfo.__init__(self, storage, network)
+ def __init__(self, instData):
+ bootloaderInfo.__init__(self, instData)
# these have to be set /before/ efiBootloaderInfo.__init__(), or
# they'll be overwritten.
self._configdir = "/boot/grub"
self._configname = "grub.conf"
- efiBootloaderInfo.__init__(self, storage, network, initialize=False)
+ efiBootloaderInfo.__init__(self, instData, initialize=False)
# XXX use checkbootloader to determine what to default to
self.useGrubVal = 1