grub2/debian/patches/linuxefi_require_shim.patch
Colin Watson 6c50d31a9a Temporarily make linuxefi refuse to validate kernels in the absence of
a shim, until we get some other details worked out.
2013-01-29 06:09:44 +00:00

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");