diff options
author | Peter Jones <pjones@redhat.com> | 2012-08-08 09:22:14 -0400 |
---|---|---|
committer | Peter Jones <pjones@redhat.com> | 2012-08-13 11:03:04 -0400 |
commit | 97550854bb1eb06616f4322c156fc1f9d90f4399 (patch) | |
tree | 515efb46d966e42dc86e0566e031bd3c28a92d76 /pyanaconda/bootloader.py | |
parent | 5262f9d080db50a5c5688e0587417d071a24604a (diff) | |
download | anaconda-97550854bb1eb06616f4322c156fc1f9d90f4399.tar.gz anaconda-97550854bb1eb06616f4322c156fc1f9d90f4399.tar.xz anaconda-97550854bb1eb06616f4322c156fc1f9d90f4399.zip |
Use the UEFI shim to load grub.
For UEFI Secure Boot support, we need to install the shim pre-boot
loader, and use it to load grub2.
Diffstat (limited to 'pyanaconda/bootloader.py')
-rw-r--r-- | pyanaconda/bootloader.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/pyanaconda/bootloader.py b/pyanaconda/bootloader.py index ed8040ff5..4329b34d2 100644 --- a/pyanaconda/bootloader.py +++ b/pyanaconda/bootloader.py @@ -1546,7 +1546,7 @@ class GRUB2(GRUB): self.stage2_device.format.sync(root=ROOT_PATH) class EFIGRUB(GRUB2): - packages = ["grub2-efi", "efibootmgr"] + packages = ["grub2-efi", "efibootmgr", "shim"] can_dual_boot = False @property @@ -1606,7 +1606,7 @@ class EFIGRUB(GRUB2): rc = self.efibootmgr("-c", "-w", "-L", productName, "-d", boot_disk.path, "-p", boot_part_num, "-l", - self.efi_dir_as_efifs_dir + "\\grubx64.efi", + self.efi_dir_as_efifs_dir + "\\shim.efi", root=ROOT_PATH, stdout="/dev/tty5", stderr="/dev/tty5") if rc: |