public inbox for git-commits@fedoraproject.org
help / color / mirror / Atom feed
From: Christian Glombek <c.glombek@cosa.systems>
To: git-commits@fedoraproject.org
Subject: [rpms/systemd-boot] rawhide: Fix efi binary hardlink for bootupd discovery
Date: Thu, 27 Aug 2026 10:25:42 GMT	[thread overview]
Message-ID: <178782634224.1.1679323380863856819.rpms-systemd-boot-26019e2d7605@fedoraproject.org> (raw)

            A new commit has been pushed.

            Repo   : rpms/systemd-boot
            Branch : rawhide
            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=rawhide

            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

                 reply	other threads:[~2026-08-27 10:25 UTC|newest]

Thread overview: [no followups] expand[flat|nested]  mbox.gz  Atom feed

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=178782634224.1.1679323380863856819.rpms-systemd-boot-26019e2d7605@fedoraproject.org \
    --to=c.glombek@cosa.systems \
    --cc=git-commits@fedoraproject.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox