Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
openSUSE:Leap:15.0
shim
shim-bsc1092000-fallback-always-try-first-optio...
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File shim-bsc1092000-fallback-always-try-first-option.patch of Package shim
From c603cce04b550778fc12d3b6329525beb07819b9 Mon Sep 17 00:00:00 2001 From: Gary Lin <glin@suse.com> Date: Wed, 9 May 2018 18:17:42 +0800 Subject: [PATCH] fallback: Always try to boot the first option Some faulty firmware may keep booting bootx64.efi instead of the boot option we create/restore. This commit removes the tpm detection and makes fallback always try to boot the first option. This breaks the TPM measurement, but it's better than being caught in an infinite reset loop. Signed-off-by: Gary Lin <glin@suse.com> --- fallback.c | 8 +------- 1 file changed, 1 insertion(+), 7 deletions(-) diff --git a/fallback.c b/fallback.c index 886e052..f7d312f 100644 --- a/fallback.c +++ b/fallback.c @@ -1009,13 +1009,7 @@ efi_main(EFI_HANDLE image, EFI_SYSTEM_TABLE *systab) return rc; } - rc = fallback_should_prefer_reset(); - if (EFI_ERROR(rc)) { - VerbosePrint(L"tpm not present, starting the first image\n"); - try_start_first_option(image); - } else { - VerbosePrint(L"tpm present, resetting system\n"); - } + try_start_first_option(image); Print(L"Reset System\n"); -- 2.16.3
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