Blame SOURCES/0140-always-return-error-to-UEFI.patch
|
|
f725e3 |
From 0000000000000000000000000000000000000000 Mon Sep 17 00:00:00 2001
|
|
|
f725e3 |
From: Fedora Ninjas <grub2-owner@fedoraproject.org>
|
|
|
f725e3 |
Date: Wed, 26 Feb 2014 21:49:12 -0500
|
|
|
f725e3 |
Subject: [PATCH] always return error to UEFI
|
|
|
f725e3 |
|
|
|
f725e3 |
---
|
|
|
f725e3 |
grub-core/kern/efi/efi.c | 2 +-
|
|
|
f725e3 |
1 file changed, 1 insertion(+), 1 deletion(-)
|
|
|
f725e3 |
|
|
|
f725e3 |
diff --git a/grub-core/kern/efi/efi.c b/grub-core/kern/efi/efi.c
|
|
|
f725e3 |
index cd839cc988a..1a8dba531b6 100644
|
|
|
f725e3 |
--- a/grub-core/kern/efi/efi.c
|
|
|
f725e3 |
+++ b/grub-core/kern/efi/efi.c
|
|
|
f725e3 |
@@ -158,7 +158,7 @@ grub_exit (void)
|
|
|
f725e3 |
{
|
|
|
f725e3 |
grub_efi_fini ();
|
|
|
f725e3 |
efi_call_4 (grub_efi_system_table->boot_services->exit,
|
|
|
f725e3 |
- grub_efi_image_handle, GRUB_EFI_SUCCESS, 0, 0);
|
|
|
f725e3 |
+ grub_efi_image_handle, GRUB_EFI_LOAD_ERROR, 0, 0);
|
|
|
f725e3 |
for (;;) ;
|
|
|
f725e3 |
}
|
|
|
f725e3 |
|