parent
56f1ee916b
commit
9875c7e5b4
14
systemd.spec
14
systemd.spec
@ -21,7 +21,7 @@
|
|||||||
Name: systemd
|
Name: systemd
|
||||||
Url: https://www.freedesktop.org/wiki/Software/systemd
|
Url: https://www.freedesktop.org/wiki/Software/systemd
|
||||||
Version: 250
|
Version: 250
|
||||||
Release: 11%{?dist}
|
Release: 12%{?dist}
|
||||||
# For a breakdown of the licensing, see README
|
# For a breakdown of the licensing, see README
|
||||||
License: LGPLv2+ and MIT and GPLv2+
|
License: LGPLv2+ and MIT and GPLv2+
|
||||||
Summary: System and Service Manager
|
Summary: System and Service Manager
|
||||||
@ -418,6 +418,10 @@ Patch0337: 0337-udev-net_id-add-rhel-9.1-naming-scheme.patch
|
|||||||
|
|
||||||
# Downstream-only patches (9000–9999)
|
# Downstream-only patches (9000–9999)
|
||||||
|
|
||||||
|
%ifarch %{ix86} x86_64 aarch64
|
||||||
|
%global have_gnu_efi 1
|
||||||
|
%endif
|
||||||
|
|
||||||
BuildRequires: gcc
|
BuildRequires: gcc
|
||||||
BuildRequires: gcc-c++
|
BuildRequires: gcc-c++
|
||||||
BuildRequires: coreutils
|
BuildRequires: coreutils
|
||||||
@ -473,6 +477,9 @@ BuildRequires: pkgconfig(tss2-rc)
|
|||||||
BuildRequires: pkgconfig(tss2-mu)
|
BuildRequires: pkgconfig(tss2-mu)
|
||||||
BuildRequires: perl
|
BuildRequires: perl
|
||||||
BuildRequires: perl(IPC::SysV)
|
BuildRequires: perl(IPC::SysV)
|
||||||
|
%if 0%{?have_gnu_efi}
|
||||||
|
BuildRequires: gnu-efi gnu-efi-devel
|
||||||
|
%endif
|
||||||
|
|
||||||
Requires(post): coreutils
|
Requires(post): coreutils
|
||||||
Requires(post): sed
|
Requires(post): sed
|
||||||
@ -747,7 +754,8 @@ CONFIGURE_OPTS=(
|
|||||||
-Dlibiptc=false
|
-Dlibiptc=false
|
||||||
-Dlibcurl=true
|
-Dlibcurl=true
|
||||||
-Dlibfido2=false
|
-Dlibfido2=false
|
||||||
-Dgnu-efi=false
|
-Defi=true
|
||||||
|
-Dgnu-efi=%[%{?have_gnu_efi}?"true":"false"]
|
||||||
-Dtpm=true
|
-Dtpm=true
|
||||||
-Dtpm2=true
|
-Dtpm2=true
|
||||||
-Dhwdb=true
|
-Dhwdb=true
|
||||||
@ -1073,7 +1081,7 @@ fi
|
|||||||
|
|
||||||
%{?ldconfig:%postun libs -p %ldconfig}
|
%{?ldconfig:%postun libs -p %ldconfig}
|
||||||
|
|
||||||
%global udev_services systemd-udev{d,-settle,-trigger}.service systemd-udevd-{control,kernel}.socket
|
%global udev_services systemd-udev{d,-settle,-trigger}.service systemd-udevd-{control,kernel}.socket %{?have_gnu_efi:systemd-boot-update.service}
|
||||||
|
|
||||||
%post udev
|
%post udev
|
||||||
# Move old stuff around in /var/lib
|
# Move old stuff around in /var/lib
|
||||||
|
Loading…
Reference in New Issue
Block a user