mirror of
https://git.proxmox.com/git/grub2
synced 2025-10-22 17:12:13 +00:00
20 lines
602 B
Diff
20 lines
602 B
Diff
Description: Make linuxefi refuse to boot without shim
|
|
This is only intended as a temporary measure.
|
|
Author: Colin Watson <cjwatson@ubuntu.com>
|
|
Forwarded: not-needed
|
|
Last-Update: 2013-01-29
|
|
|
|
Index: b/grub-core/loader/i386/efi/linux.c
|
|
===================================================================
|
|
--- a/grub-core/loader/i386/efi/linux.c
|
|
+++ b/grub-core/loader/i386/efi/linux.c
|
|
@@ -63,7 +63,7 @@
|
|
if (!shim_lock)
|
|
{
|
|
grub_dprintf ("linuxefi", "shim not available\n");
|
|
- return 1;
|
|
+ return 0;
|
|
}
|
|
|
|
grub_dprintf ("linuxefi", "Asking shim to verify kernel signature\n");
|