OBS-URL: https://build.opensuse.org/package/show/Base:System/fwupd?expand=0&rev=202
14 lines
593 B
Diff
14 lines
593 B
Diff
diff --git a/plugins/uefi-capsule/fu-uefi-bootmgr.c b/plugins/uefi-capsule/fu-uefi-bootmgr.c
|
|
index e7761b52..0a425455 100644
|
|
--- a/plugins/uefi-capsule/fu-uefi-bootmgr.c
|
|
+++ b/plugins/uefi-capsule/fu-uefi-bootmgr.c
|
|
@@ -368,7 +368,7 @@ fu_uefi_bootmgr_bootnext(FuEfivars *efivars,
|
|
if (!fu_efivars_get_secure_boot(efivars, &secureboot_enabled, error))
|
|
return FALSE;
|
|
if (secureboot_enabled) {
|
|
- 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;
|
|
|