[master 1/3] Make sure EFIGRUB and MacEFIGRUB are initialized correctly.
Peter Jones
pjones at redhat.com
Wed Sep 5 16:35:33 UTC 2012
---
pyanaconda/bootloader.py | 6 ++++++
1 file changed, 6 insertions(+)
diff --git a/pyanaconda/bootloader.py b/pyanaconda/bootloader.py
index 04b4066..f0c1ac2 100644
--- a/pyanaconda/bootloader.py
+++ b/pyanaconda/bootloader.py
@@ -1553,6 +1553,9 @@ class EFIGRUB(GRUB2):
def _config_dir(self):
return "efi/EFI/%s" % (self.storage.anaconda.instClass.efi_dir,)
+ def __init__(self, platform=None):
+ super(EFIGRUB, self).__init__(platform=platform)
+
def efibootmgr(self, *args, **kwargs):
if kwargs.pop("capture", False):
exec_func = iutil.execWithCapture
@@ -1636,6 +1639,9 @@ class EFIGRUB(GRUB2):
class MacEFIGRUB(EFIGRUB):
+ def __init__(self, platform=None):
+ super(MacEFIGRUB, self).__init__(platform=platform)
+
def mactel_config(self):
if os.path.exists(ROOT_PATH + "/usr/libexec/mactel-boot-setup"):
rc = iutil.execWithRedirect("/usr/libexec/mactel-boot-setup", [],
--
1.7.11.4
More information about the anaconda-patches
mailing list