mirror of
https://src.fedoraproject.org/rpms/grub2.git
synced 2024-11-28 07:44:52 +00:00
1f092caba7
Add comments and revert logic changes in 01_fallback_counting Remove quotes when reading ID value from /etc/os-release Related: rhbz#1650706 blscfg: expand grub_users before passing to grub_normal_add_menu_entry() Resolves: rhbz#1650706 Drop buggy downstream patch "efinet: retransmit if our device is busy" Resolves: rhbz#1649048 Make the menu entry users option argument to be optional Related: rhbz#1652434 10_linux_bls: add missing menu entries options Resolves: rhbz#1652434 Drop "Be more aggro about actually using the *configured* network device." Resolves: rhbz#1654388 Fix menu entry selection based on title Resolves: rhbz#1654936 Signed-off-by: Javier Martinez Canillas <javierm@redhat.com>
29 lines
856 B
Diff
29 lines
856 B
Diff
From 0000000000000000000000000000000000000000 Mon Sep 17 00:00:00 2001
|
|
From: Matthew Garrett <mjg59@coreos.com>
|
|
Date: Wed, 23 Mar 2016 16:49:42 -0700
|
|
Subject: [PATCH] Fix boot when there's no TPM
|
|
|
|
If the firmware has TPM support but has no TPM, we're jumping to core.img
|
|
without popping the registers back onto the stack. Fix that.
|
|
|
|
(cherry picked from commit c2eee36ec08f8ed0cd25b8030276347680be4843)
|
|
---
|
|
grub-core/boot/i386/pc/boot.S | 4 ++--
|
|
1 file changed, 2 insertions(+), 2 deletions(-)
|
|
|
|
diff --git a/grub-core/boot/i386/pc/boot.S b/grub-core/boot/i386/pc/boot.S
|
|
index c1df86dec0b..acab37369ae 100644
|
|
--- a/grub-core/boot/i386/pc/boot.S
|
|
+++ b/grub-core/boot/i386/pc/boot.S
|
|
@@ -473,9 +473,9 @@ LOCAL(copy_buffer):
|
|
movl $0x8, %edx /* PCR 8 */
|
|
int $0x1A
|
|
|
|
- popa
|
|
-#endif
|
|
boot:
|
|
+ popa
|
|
+#endif
|
|
/* boot kernel */
|
|
jmp *(LOCAL(kernel_address))
|
|
|