From d78b616babc62e7604ddcf5314c57b394c3cd037 Mon Sep 17 00:00:00 2001 From: Jan Macku Date: Tue, 30 Apr 2024 14:39:11 +0200 Subject: [PATCH] spec: `systemd-ukify` should depend on `systemd-boot` `systemd-ukify` requires `/usr/lib/systemd/boot/efi/{addonx64,linuxx64}.efi.stub` to work properly, e.g. ``` Traceback (most recent call last): File "/usr/bin/ukify", line 1660, in main() File "/usr/bin/ukify", line 1648, in main check_inputs(opts) File "/usr/bin/ukify", line 390, in check_inputs value.open().close() File "/usr/lib64/python3.9/pathlib.py", line 1252, in open return io.open(self, mode, buffering, encoding, errors, newline, File "/usr/lib64/python3.9/pathlib.py", line 1120, in _opener return self._accessor.open(self, flags, mode) FileNotFoundError: [Errno 2] No such file or directory: '/usr/lib/systemd/boot/efi/addonx64.efi.stub' ``` `/usr/lib/systemd/boot/efi/{addonx64,linuxx64}.efi.stub` are now contained in `systemd-boot-unsigned` sub-package so adding a dependency on it seems like the easiest solution. Originally reported by: Vitaly Kuznetsov in https://issues.redhat.com/browse/RHEL-33990 Signed-off-by: Jan Macku (cherry picked from commit b9ec39c0efa664f18666c8c94140f3bbfb0bca3b) Resolves: RHEL-33990 --- systemd.spec | 1 + 1 file changed, 1 insertion(+) diff --git a/systemd.spec b/systemd.spec index 92c676f..62e387b 100644 --- a/systemd.spec +++ b/systemd.spec @@ -1045,6 +1045,7 @@ machines and in virtual machines, but not in containers. Summary: Tool to build Unified Kernel Images Requires: %{name} = %{version}-%{release} +Requires: systemd-boot Requires: python3dist(cryptography) Requires: python3dist(pefile)