diff options
author | Hans de Goede <hdegoede@redhat.com> | 2009-08-04 12:34:08 +0200 |
---|---|---|
committer | Hans de Goede <hdegoede@redhat.com> | 2009-08-05 11:36:40 +0200 |
commit | 829c4fdfcdca1207f5bb40fbdf1a67a7e0859064 (patch) | |
tree | a62c5ef73129a9d2deba57a34bff762fec229c42 /instdata.py | |
parent | 81cc86e56a897fc3778e1ee806600bfce2af4311 (diff) | |
download | anaconda-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 'instdata.py')
-rw-r--r-- | instdata.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/instdata.py b/instdata.py index b3497b329..fdb1a32e4 100644 --- a/instdata.py +++ b/instdata.py @@ -74,7 +74,7 @@ class InstallData: if flags.cmdline.has_key("preupgrade"): self.upgrade = True self.storage = storage.Storage(self.anaconda) - self.bootloader = booty.getBootloader(self.storage, self.network) + self.bootloader = booty.getBootloader(self) self.upgradeRoot = None self.rootParts = None self.upgradeSwapInfo = None |