2023-03-08 17:17:13 +01:00
|
|
|
Index: fwupd-1.8.12/plugins/uefi-capsule/fu-uefi-bootmgr.c
|
2019-06-25 17:32:29 +02:00
|
|
|
===================================================================
|
2023-03-08 17:17:13 +01:00
|
|
|
--- fwupd-1.8.12.orig/plugins/uefi-capsule/fu-uefi-bootmgr.c
|
|
|
|
+++ fwupd-1.8.12/plugins/uefi-capsule/fu-uefi-bootmgr.c
|
2022-10-20 14:50:55 +02:00
|
|
|
@@ -292,7 +292,8 @@ fu_uefi_bootmgr_bootnext(FuDevice *devic
|
2023-03-08 17:17:13 +01:00
|
|
|
/* test if we should use shim */
|
2022-10-20 14:50:55 +02:00
|
|
|
secure_boot = fu_efivar_secure_boot_enabled(NULL);
|
2020-04-16 15:56:47 +02:00
|
|
|
if (secure_boot) {
|
2021-12-01 12:12:43 +01:00
|
|
|
- shim_app = fu_uefi_get_esp_app_path(device, esp_path, "shim", error);
|
2020-04-16 15:56:47 +02:00
|
|
|
+ shim_app = g_strdup_printf ("%s/shim.efi",
|
2020-12-04 10:13:46 +01:00
|
|
|
+ fu_uefi_get_esp_path_for_os (device, esp_path));
|
2020-04-16 15:56:47 +02:00
|
|
|
if (shim_app == NULL)
|
|
|
|
return FALSE;
|
2019-04-08 21:22:48 +02:00
|
|
|
|