Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
openSUSE:Step:15-SP1
grub2.27717
0038-squash-grub2-efi-chainload-harder.patch
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File 0038-squash-grub2-efi-chainload-harder.patch of Package grub2.27717
From d1af239cbcc2b7760ebbd0e2cf8e97590130f9ba Mon Sep 17 00:00:00 2001 From: Michael Chang <mchang@suse.com> Date: Fri, 11 Dec 2020 22:39:54 +0800 Subject: [PATCH 38/41] squash! grub2-efi-chainload-harder Use grub_efi_get_secureboot to get secure boot status --- grub-core/loader/efi/chainloader.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/grub-core/loader/efi/chainloader.c b/grub-core/loader/efi/chainloader.c index 4ae9dc574..65f8d3342 100644 --- a/grub-core/loader/efi/chainloader.c +++ b/grub-core/loader/efi/chainloader.c @@ -793,7 +793,7 @@ grub_cmd_chainloader (grub_command_t cmd __attribute__ ((unused)), boot_image, fsize, &image_handle); #ifdef SUPPORT_SECURE_BOOT - if (status == GRUB_EFI_SECURITY_VIOLATION && !grub_secure_mode()) + if (status == GRUB_EFI_SECURITY_VIOLATION && grub_efi_get_secureboot () != GRUB_EFI_SECUREBOOT_MODE_ENABLED) { /* If it failed with security violation while not in secure boot mode, the firmware might be broken. We try to workaround on that by forcing -- 2.26.2
Locations
Projects
Search
Status Monitor
Help
OpenBuildService.org
Documentation
API Documentation
Code of Conduct
Contact
Support
@OBShq
Terms
openSUSE Build Service is sponsored by
The Open Build Service is an
openSUSE project
.
Sign Up
Log In
Places
Places
All Projects
Status Monitor