Always build ukify package
Even on non-uefi architectures, ukify can be used to build UKIs for UEFI images. For example, mkosi can use it to build UKIs on s390x. To enable this use case, let's always build ukify, but with a conditional dependency on systemd-boot only on arches that support UEFI. (cherry picked from commit a67221c3f0d0b81b9b5b3230a71d09044342f1a4) Resolves: RHEL-56019
This commit is contained in:
parent
608f968eb5
commit
bda4c07de8
10
systemd.spec
10
systemd.spec
@ -1356,7 +1356,15 @@ machines and in virtual machines, but not in containers.
|
||||
Summary: Tool to build Unified Kernel Images
|
||||
Requires: %{name} = %{version}-%{release}
|
||||
|
||||
Requires: systemd-boot
|
||||
Requires: (systemd-boot if %{shrink:(
|
||||
filesystem(x86-32) or
|
||||
filesystem(x86-64) or
|
||||
filesystem(aarch64) or
|
||||
filesystem(riscv64)
|
||||
)})
|
||||
%if 0%{?fedora}
|
||||
Requires: python3dist(zstd)
|
||||
%endif
|
||||
Requires: python3dist(cryptography)
|
||||
Requires: python3dist(pefile)
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user