- 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:
@@ -1,13 +1,13 @@
|
|||||||
diff --git a/plugins/uefi-capsule/fu-uefi-bootmgr.c b/plugins/uefi-capsule/fu-uefi-bootmgr.c
|
Index: fwupd-1.9.27/plugins/uefi-capsule/fu-uefi-bootmgr.c
|
||||||
index 9d9e30f..daa9b2c 100644
|
===================================================================
|
||||||
--- a/plugins/uefi-capsule/fu-uefi-bootmgr.c
|
--- fwupd-1.9.27.orig/plugins/uefi-capsule/fu-uefi-bootmgr.c
|
||||||
+++ b/plugins/uefi-capsule/fu-uefi-bootmgr.c
|
+++ fwupd-1.9.27/plugins/uefi-capsule/fu-uefi-bootmgr.c
|
||||||
@@ -408,7 +408,7 @@ fu_uefi_bootmgr_bootnext(FuVolume *esp,
|
@@ -409,7 +409,7 @@ fu_uefi_bootmgr_bootnext(FuVolume *esp,
|
||||||
/* test if we should use shim */
|
/* test if we should use shim */
|
||||||
secure_boot = fu_efivar_secure_boot_enabled(NULL);
|
secure_boot = fu_efivar_secure_boot_enabled(NULL);
|
||||||
if (secure_boot) {
|
if (secure_boot) {
|
||||||
- shim_app = fu_uefi_get_esp_app_path(esp_path, "shim", error);
|
- 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)
|
if (shim_app == NULL)
|
||||||
return FALSE;
|
return FALSE;
|
||||||
|
|
||||||
|
@@ -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>
|
Mon Dec 23 11:53:48 UTC 2024 - Callum Farmer <gmbr3@opensuse.org>
|
||||||
|
|
||||||
|
@@ -1,7 +1,7 @@
|
|||||||
#
|
#
|
||||||
# spec file for package fwupd
|
# 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
|
# All modifications and additions to the file contributed by third parties
|
||||||
# remain the property of their copyright owners, unless otherwise agreed
|
# remain the property of their copyright owners, unless otherwise agreed
|
||||||
@@ -15,7 +15,7 @@
|
|||||||
# Please submit bugfixes or comments via https://bugs.opensuse.org/
|
# Please submit bugfixes or comments via https://bugs.opensuse.org/
|
||||||
#
|
#
|
||||||
|
|
||||||
# Must be supported by fwupd-efi!!!
|
|
||||||
%ifarch %{ix86} x86_64 %{arm} aarch64 riscv64
|
%ifarch %{ix86} x86_64 %{arm} aarch64 riscv64
|
||||||
%bcond_without efi_fw_update
|
%bcond_without efi_fw_update
|
||||||
%else
|
%else
|
||||||
|
Reference in New Issue
Block a user