* [PATCH] Use the UEFI shim to load grub.
[not found] <1344432179-31974-1-git-send-email-pjones@redhat.com>
@ 2012-08-08 14:18 ` Peter Jones
2012-08-08 14:35 ` Peter Jones
0 siblings, 1 reply; 2+ messages in thread
From: Peter Jones @ 2012-08-08 14:18 UTC (permalink / raw)
To: dhowells; +Cc: jwboyer, linux-kernel, Peter Jones
For UEFI Secure Boot support, we need to install the shim pre-boot
loader, and use it to load grub2.
---
pyanaconda/bootloader.py | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/pyanaconda/bootloader.py b/pyanaconda/bootloader.py
index ea4de5e..02d0ea8 100644
--- a/pyanaconda/bootloader.py
+++ b/pyanaconda/bootloader.py
@@ -1749,7 +1749,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
@@ -1809,7 +1809,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:
--
1.7.11.2
^ permalink raw reply [flat|nested] 2+ messages in thread
* Re: [PATCH] Use the UEFI shim to load grub.
2012-08-08 14:18 ` [PATCH] Use the UEFI shim to load grub Peter Jones
@ 2012-08-08 14:35 ` Peter Jones
0 siblings, 0 replies; 2+ messages in thread
From: Peter Jones @ 2012-08-08 14:35 UTC (permalink / raw)
To: dhowells; +Cc: jwboyer, linux-kernel
Obviously, this went to the wrong list of addresses. Sorry for all the
noise.
On Wed, 2012-08-08 at 10:18 -0400, Peter Jones wrote:
> For UEFI Secure Boot support, we need to install the shim pre-boot
> loader, and use it to load grub2.
> ---
> pyanaconda/bootloader.py | 4 ++--
> 1 file changed, 2 insertions(+), 2 deletions(-)
>
> diff --git a/pyanaconda/bootloader.py b/pyanaconda/bootloader.py
> index ea4de5e..02d0ea8 100644
> --- a/pyanaconda/bootloader.py
> +++ b/pyanaconda/bootloader.py
> @@ -1749,7 +1749,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
> @@ -1809,7 +1809,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:
--
Peter
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2012-08-08 14:35 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
[not found] <1344432179-31974-1-git-send-email-pjones@redhat.com>
2012-08-08 14:18 ` [PATCH] Use the UEFI shim to load grub Peter Jones
2012-08-08 14:35 ` Peter Jones
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox
all inboxes | Powered by JetHome®