Dominique Leuenberger
51fff397c1
path for shim.efi OBS-URL: https://build.opensuse.org/package/show/Base:System/fwupd?expand=0&rev=200
14 lines
609 B
Diff
14 lines
609 B
Diff
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", fu_uefi_get_esp_path_for_os(esp_path));
|
|
if (shim_app == NULL)
|
|
return FALSE;
|
|
|