Group :: System/Kernel and hardware
RPM: shim
Main Changelog Spec Patches Sources Download Gear Bugs and FR Repocop
Patch: shim-15.4-upstream-0031-shim-avoid-BOOTx64.EFI-in-message-on-other-architect.patch
Download
Download
From f9ced705b692d7717461117784ddc28b39305722 Mon Sep 17 00:00:00 2001
From: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
Date: Thu, 2 Sep 2021 13:37:52 +0200
Subject: [PATCH 31/35] shim: avoid BOOTx64.EFI in message on other
architectures
An error message complaining about missing file BOOTx64.EFI makes no
sense on other architectures.
Signed-off-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
---
shim.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/shim.c b/shim.c
index 94a51768..1e774f71 100644
--- a/shim.c
+++ b/shim.c
@@ -724,7 +724,7 @@ should_use_fallback(EFI_HANDLE image_handle)
efi_status = gBS->HandleProtocol(image_handle, &EFI_LOADED_IMAGE_GUID,
(void **)&li);
if (EFI_ERROR(efi_status)) {
- perror(L"Could not get image for bootx64.efi: %r\n",
+ perror(L"Could not get image for boot" EFI_ARCH L".efi: %r\n",
efi_status);
return 0;
}
--
2.32.0