SHA256
1
0
forked from pool/fwupd
fwupd/fwupd-bsc1130056-change-shim-path.patch

15 lines
650 B
Diff

Index: fwupd-1.7.2/plugins/uefi-capsule/fu-uefi-bootmgr.c
===================================================================
--- fwupd-1.7.2.orig/plugins/uefi-capsule/fu-uefi-bootmgr.c
+++ fwupd-1.7.2/plugins/uefi-capsule/fu-uefi-bootmgr.c
@@ -294,7 +294,8 @@ fu_uefi_bootmgr_bootnext(FuDevice *devic
secure_boot = fu_efivar_secure_boot_enabled();
if (secure_boot) {
/* test to make sure shim is there if we need it */
- shim_app = fu_uefi_get_esp_app_path(device, esp_path, "shim", error);
+ shim_app = g_strdup_printf ("%s/shim.efi",
+ fu_uefi_get_esp_path_for_os (device, esp_path));
if (shim_app == NULL)
return FALSE;