Do not create boot subpackage on non-efi arches
This fixes build.
[skip changelog]
(cherry picked from commit 778f8ef8a5
)
Related: #2157663
This commit is contained in:
parent
133bef1c24
commit
6d0071c1b2
@ -515,6 +515,7 @@ This package contains systemd-udev and the rules and hardware database
|
|||||||
needed to manage device nodes. This package is necessary on physical
|
needed to manage device nodes. This package is necessary on physical
|
||||||
machines and in virtual machines, but not in containers.
|
machines and in virtual machines, but not in containers.
|
||||||
|
|
||||||
|
%if 0%{?have_gnu_efi}
|
||||||
%package boot-unsigned
|
%package boot-unsigned
|
||||||
Summary: UEFI boot manager (unsigned version)
|
Summary: UEFI boot manager (unsigned version)
|
||||||
|
|
||||||
@ -535,6 +536,7 @@ line. systemd-boot supports systems with UEFI firmware only.
|
|||||||
|
|
||||||
This package contains the unsigned version. Install systemd-boot instead to get
|
This package contains the unsigned version. Install systemd-boot instead to get
|
||||||
the version that works with Secure Boot.
|
the version that works with Secure Boot.
|
||||||
|
%endif
|
||||||
|
|
||||||
%package container
|
%package container
|
||||||
# Name is the same as in Debian
|
# Name is the same as in Debian
|
||||||
@ -1105,7 +1107,9 @@ getent passwd systemd-oom &>/dev/null || useradd -r -l -g systemd-oom -d / -s /s
|
|||||||
|
|
||||||
%files udev -f .file-list-udev
|
%files udev -f .file-list-udev
|
||||||
|
|
||||||
|
%if 0%{?have_gnu_efi}
|
||||||
%files boot-unsigned -f .file-list-boot
|
%files boot-unsigned -f .file-list-boot
|
||||||
|
%endif
|
||||||
|
|
||||||
%files container -f .file-list-container
|
%files container -f .file-list-container
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user