Script 'mail_helper' called by obssrc Hello community, here is the log from the commit of package fwupd for openSUSE:Factory checked in at 2026-05-28 23:07:55 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/fwupd (Old) and /work/SRC/openSUSE:Factory/.fwupd.new.1937 (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "fwupd" Thu May 28 23:07:55 2026 rev:114 rq:1355146 version:2.1.3 Changes: -------- --- /work/SRC/openSUSE:Factory/fwupd/fwupd.changes 2026-05-13 17:19:34.491889371 +0200 +++ /work/SRC/openSUSE:Factory/.fwupd.new.1937/fwupd.changes 2026-05-28 23:08:19.746492146 +0200 @@ -1,0 +2,6 @@ +Tue May 26 02:16:40 UTC 2026 - Gary Ching-Pang Lin <[email protected]> + +- Add fwupd-bsc1217138-fallback-shim-path.patch to set the fallback + shim path for SUSE/openSUSE (bsc#1217138) + +------------------------------------------------------------------- New: ---- fwupd-bsc1217138-fallback-shim-path.patch ----------(New B)---------- New: - Add fwupd-bsc1217138-fallback-shim-path.patch to set the fallback shim path for SUSE/openSUSE (bsc#1217138) ----------(New E)---------- ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ fwupd.spec ++++++ --- /var/tmp/diff_new_pack.QDEcLe/_old 2026-05-28 23:08:21.186551386 +0200 +++ /var/tmp/diff_new_pack.QDEcLe/_new 2026-05-28 23:08:21.190551551 +0200 @@ -50,6 +50,7 @@ Group: System/Management URL: https://fwupd.org/ Source: %{name}-%{version}.tar.xz +Patch1: fwupd-bsc1217138-fallback-shim-path.patch BuildRequires: dejavu-fonts BuildRequires: fdupes ++++++ fwupd-bsc1217138-fallback-shim-path.patch ++++++ diff --git a/plugins/uefi-capsule/fu-uefi-bootmgr.c b/plugins/uefi-capsule/fu-uefi-bootmgr.c index 4e96a0b70..d6e2aa117 100644 --- a/plugins/uefi-capsule/fu-uefi-bootmgr.c +++ b/plugins/uefi-capsule/fu-uefi-bootmgr.c @@ -402,12 +402,20 @@ fu_uefi_bootmgr_bootnext(FuUefiCapsuleDevice *capsule_device, return FALSE; } } else if (!g_file_test(shim_dst, G_FILE_TEST_EXISTS)) { - g_set_error(error, - FWUPD_ERROR, - FWUPD_ERROR_NOT_FOUND, - "shim is required but was not found: %s", - shim_dst); - return FALSE; + /* SUSE/openSUSE ship shim without an arch suffix */ + g_autofree gchar *shim_dst_fallback = + fu_uefi_capsule_device_build_efi_path(capsule_device, NULL, "shim.efi", NULL); + if (shim_dst_fallback == NULL || + !g_file_test(shim_dst_fallback, G_FILE_TEST_EXISTS)) { + g_set_error(error, + FWUPD_ERROR, + FWUPD_ERROR_NOT_FOUND, + "shim is required but was not found: %s", + shim_dst); + return FALSE; + } + g_free(shim_dst); + shim_dst = g_steal_pointer(&shim_dst_fallback); } /* shim chainloads fwupd */
