Enable bootloader & proper check valgrind support

Signed-off-by: David Abdurachmanov <davidlt@rivosinc.com>
This commit is contained in:
David Abdurachmanov 2024-03-21 10:31:43 +02:00
parent e8d02128c9
commit bdc548865b
Signed by: davidlt
GPG Key ID: 7A5F42FAF91FACC3
1 changed files with 8 additions and 1 deletions

View File

@ -33,6 +33,11 @@
Name: systemd
Url: https://systemd.io
%ifarch riscv64
%define release_override 1.0.riscv64
%endif
# Allow users to specify the version and release when building the rpm by
# setting the %%version_override and %%release_override macros.
Version: %{?version_override}%{!?version_override:255.4}
@ -115,7 +120,7 @@ Patch0491: https://github.com/systemd/systemd/pull/30846.patch
# Adjust upstream config to use our shared stack
Patch0499: fedora-use-system-auth-in-pam-systemd-user.patch
%ifarch %{ix86} x86_64 aarch64
%ifarch %{ix86} x86_64 aarch64 riscv64
%global want_bootloader 1
%endif
@ -201,7 +206,9 @@ BuildRequires: libseccomp-devel
BuildRequires: meson >= 0.43
BuildRequires: gettext
# We use RUNNING_ON_VALGRIND in tests, so the headers need to be available
%ifarch %{valgrind_arches}
BuildRequires: valgrind-devel
%endif
BuildRequires: pkgconfig(bash-completion)
BuildRequires: perl
BuildRequires: perl(IPC::SysV)