- Update fwupd-bsc1130056-change-shim-path.patch to correct the

path for shim.efi

OBS-URL: https://build.opensuse.org/package/show/Base:System/fwupd?expand=0&rev=200
This commit is contained in:
Dominique Leuenberger 2025-01-09 08:20:05 +00:00 committed by Git OBS Bridge
parent 9e993c7358
commit 51fff397c1
3 changed files with 14 additions and 8 deletions

View File

@ -1,13 +1,13 @@
diff --git a/plugins/uefi-capsule/fu-uefi-bootmgr.c b/plugins/uefi-capsule/fu-uefi-bootmgr.c
index 9d9e30f..daa9b2c 100644
--- a/plugins/uefi-capsule/fu-uefi-bootmgr.c
+++ b/plugins/uefi-capsule/fu-uefi-bootmgr.c
@@ -408,7 +408,7 @@ fu_uefi_bootmgr_bootnext(FuVolume *esp,
Index: fwupd-1.9.27/plugins/uefi-capsule/fu-uefi-bootmgr.c
===================================================================
--- fwupd-1.9.27.orig/plugins/uefi-capsule/fu-uefi-bootmgr.c
+++ fwupd-1.9.27/plugins/uefi-capsule/fu-uefi-bootmgr.c
@@ -409,7 +409,7 @@ fu_uefi_bootmgr_bootnext(FuVolume *esp,
/* test if we should use shim */
secure_boot = fu_efivar_secure_boot_enabled(NULL);
if (secure_boot) {
- shim_app = fu_uefi_get_esp_app_path(esp_path, "shim", error);
+ shim_app = g_strdup_printf ("%s/shim.efi", esp_path);
+ shim_app = g_strdup_printf ("%s/shim.efi", fu_uefi_get_esp_path_for_os(esp_path));
if (shim_app == NULL)
return FALSE;

View File

@ -1,3 +1,9 @@
-------------------------------------------------------------------
Thu Jan 9 06:38:36 UTC 2025 - Gary Ching-Pang Lin <glin@suse.com>
- Update fwupd-bsc1130056-change-shim-path.patch to correct the
path for shim.efi
-------------------------------------------------------------------
Mon Dec 23 11:53:48 UTC 2024 - Callum Farmer <gmbr3@opensuse.org>

View File

@ -1,7 +1,7 @@
#
# spec file for package fwupd
#
# Copyright (c) 2024 SUSE LLC
# Copyright (c) 2025 SUSE LLC
#
# All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed
@ -15,7 +15,7 @@
# Please submit bugfixes or comments via https://bugs.opensuse.org/
#
# Must be supported by fwupd-efi!!!
%ifarch %{ix86} x86_64 %{arm} aarch64 riscv64
%bcond_without efi_fw_update
%else