forked from pool/fwupd
Accepting request 1127172 from Base:System
OBS-URL: https://build.opensuse.org/request/show/1127172 OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/fwupd?expand=0&rev=67
This commit is contained in:
commit
599a3ef77a
14
fwupd-bsc1130056-change-shim-path.patch
Normal file
14
fwupd-bsc1130056-change-shim-path.patch
Normal file
@ -0,0 +1,14 @@
|
|||||||
|
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,8 @@ 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("shim", error);
|
||||||
|
+ shim_app = g_strdup_printf ("%s/shim.efi",
|
||||||
|
+ fu_uefi_get_esp_path_for_os());
|
||||||
|
if (shim_app == NULL)
|
||||||
|
return FALSE;
|
||||||
|
|
@ -1,3 +1,9 @@
|
|||||||
|
-------------------------------------------------------------------
|
||||||
|
Thu Nov 16 10:51:27 UTC 2023 - Dominique Leuenberger <dimstar@opensuse.org>
|
||||||
|
|
||||||
|
- Re-add fwupd-bsc1130056-change-shim-path.patch: patch was dropped
|
||||||
|
in error (boo#1217138).
|
||||||
|
|
||||||
-------------------------------------------------------------------
|
-------------------------------------------------------------------
|
||||||
Wed Nov 15 08:06:09 UTC 2023 - Dominique Leuenberger <dimstar@opensuse.org>
|
Wed Nov 15 08:06:09 UTC 2023 - Dominique Leuenberger <dimstar@opensuse.org>
|
||||||
|
|
||||||
|
@ -48,6 +48,8 @@ Group: System/Management
|
|||||||
URL: https://fwupd.org/
|
URL: https://fwupd.org/
|
||||||
Source: %{name}-%{version}.tar.xz
|
Source: %{name}-%{version}.tar.xz
|
||||||
|
|
||||||
|
# PATCH-FIX-OPENSUSE fwupd-bsc1130056-shim-path.patch bsc#1130056
|
||||||
|
Patch1: fwupd-bsc1130056-change-shim-path.patch
|
||||||
# PATCH-FIX-OPENSUSE fwupd-jscSLE-11766-close-efidir-leap-gap.patch jsc#SLE-11766 qkzhu@suse.com -- Set SLE and openSUSE esp os dir at runtime
|
# PATCH-FIX-OPENSUSE fwupd-jscSLE-11766-close-efidir-leap-gap.patch jsc#SLE-11766 qkzhu@suse.com -- Set SLE and openSUSE esp os dir at runtime
|
||||||
Patch2: fwupd-jscSLE-11766-close-efidir-leap-gap.patch
|
Patch2: fwupd-jscSLE-11766-close-efidir-leap-gap.patch
|
||||||
# PATCH-FEATURE-OPENSUSE harden_fwupd-offline-update.service.patch -- Harden services
|
# PATCH-FEATURE-OPENSUSE harden_fwupd-offline-update.service.patch -- Harden services
|
||||||
|
Loading…
Reference in New Issue
Block a user