From: Vitaly Kuznetsov <vkuznets(a)redhat.com>
redhat: Repair ELN build broken by the recent UKI changes
UKI build requires systemd-stub ('/usr/lib/systemd/boot/efi/linuxx64.efi.stub')
to be present in buildroot. In F38, this was moved from 'systemd-udev'
package to a newly introduced 'systemd-boot-unsigned'. ELN build requires
it too.
Add a note to redhat/rebase-notes.txt that 'systemd-boot-unsigned'
builddep needs to be dropped for F37.
Signed-off-by: Vitaly Kuznetsov <vkuznets(a)redhat.com>
diff --git a/redhat/kernel.spec.template b/redhat/kernel.spec.template
index blahblah..blahblah 100755
--- a/redhat/kernel.spec.template
+++ b/redhat/kernel.spec.template
@@ -711,9 +711,7 @@ BuildRequires: dracut
BuildRequires: binutils
# For the initrd
BuildRequires: lvm2
-%if 0%{?fedora} > 37
BuildRequires: systemd-boot-unsigned
-%endif
# For systemd-stub and systemd-pcrphase
BuildRequires: systemd-udev >= 252-1
# For TPM operations in UKI initramfs
diff --git a/redhat/rebase-notes.txt b/redhat/rebase-notes.txt
index blahblah..blahblah 100644
--- a/redhat/rebase-notes.txt
+++ b/redhat/rebase-notes.txt
@@ -3,3 +3,5 @@ Rebase notes for Fedora kernel rebases:
6.x: Apply both patches for the simple drm nvidia work-around. From 6.1:
e020208cd83e397e47cf2b54c4471847ff09e2ee enable efifb for Nvidia
811fe0e4dcfd86a0db5135d3bfef4936794efdb6 drivers/firmware: skip simpledrm if
nvidia-drm.modeset=1 is set
+
+Fedora 37: 'systemd-boot-unsigned' build dependency needs to be dropped.
--
https://gitlab.com/cki-project/kernel-ark/-/merge_requests/2284