Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
SUSE:SLE-15:Update
grub2.19065
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.19065
From ddef232b11ab3fb216cc502a56ccb04e010a99b1 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