public inbox for git-commits@fedoraproject.org
help / color / mirror / Atom feed
* [rpms/systemd-boot] f45: Fix efi binary hardlink for bootupd discovery
@ 2026-08-28 11:24 Christian Glombek
0 siblings, 0 replies; only message in thread
From: Christian Glombek @ 2026-08-28 11:24 UTC (permalink / raw)
To: git-commits
A new commit has been pushed.
Repo : rpms/systemd-boot
Branch : f45
Commit : 26019e2d760574a5a433599f27a0038c1a9f71b7
Author : Christian Glombek <c.glombek@cosa.systems>
Date : 2026-08-26T16:42:47+02:00
Stats : +7/-3 in 1 file(s)
URL : https://src.fedoraproject.org/rpms/systemd-boot/c/26019e2d760574a5a433599f27a0038c1a9f71b7?branch=f45
Log:
Fix efi binary hardlink for bootupd discovery
Also add a note explaining the grub naming.
---
diff --git a/systemd-boot.spec b/systemd-boot.spec
index 3fa72f7..a3f78ea 100644
--- a/systemd-boot.spec
+++ b/systemd-boot.spec
@@ -67,9 +67,11 @@ cp -a %{_prefix}/lib/systemd/boot/efi/linux%{efi_arch}.efi.stub \
cp -a %{_prefix}/lib/systemd/boot/efi/addon%{efi_arch}.efi.stub \
%{buildroot}%{_prefix}/lib/systemd/boot/efi/addon%{efi_arch}.efi.stub.alt
-install -dm 0755 %{buildroot}%{_prefix}/lib/efi/systemd-boot/%{version}-%{release}
+# Create efi binary hardlink for bootupd discovery
+# Note: systemd-boot is hardlinked to the grub%%{efi_arch}.efi filename for shim compatibility
+install -dm 0755 %{buildroot}%{_prefix}/lib/efi/systemd-boot/%{version}-%{release}/EFI/%{efi_vendor}
ln %{buildroot}%{_prefix}/lib/systemd/boot/efi/systemd-boot%{efi_arch}.efi.signed \
- %{buildroot}%{_prefix}/lib/efi/systemd-boot/%{version}-%{release}/grub%{efi_arch}.efi
+ %{buildroot}%{_prefix}/lib/efi/systemd-boot/%{version}-%{release}/EFI/%{efi_vendor}/grub%{efi_arch}.efi
install -m0644 -Dt %{buildroot}%{_licensedir}/%{name}/ %{_datadir}/licenses/systemd/LICENSE.LGPL2.1
@@ -91,7 +93,9 @@ fi
%dir %{_prefix}/lib/efi
%dir %{_prefix}/lib/efi/systemd-boot
%dir %{_prefix}/lib/efi/systemd-boot/%{version}-%{release}
-%{_prefix}/lib/efi/systemd-boot/%{version}-%{release}/grub%{efi_arch}.efi
+%dir %{_prefix}/lib/efi/systemd-boot/%{version}-%{release}/EFI
+%dir %{_prefix}/lib/efi/systemd-boot/%{version}-%{release}/EFI/%{efi_vendor}
+%{_prefix}/lib/efi/systemd-boot/%{version}-%{release}/EFI/%{efi_vendor}/grub%{efi_arch}.efi
# Man pages are provided by systemd-udev subpackage.
# If we copied them to this package, we'd need to either rename them
^ permalink raw reply related [flat|nested] only message in thread
only message in thread, other threads:[~2026-08-28 11:24 UTC | newest]
Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2026-08-28 11:24 [rpms/systemd-boot] f45: Fix efi binary hardlink for bootupd discovery Christian Glombek
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox