From 94b1673bb71641d305d046f7f5277b7c683164f7 Mon Sep 17 00:00:00 2001 From: nmburgan <13688219+nmburgan@users.noreply.github.com> Date: Mon, 5 Oct 2026 21:20:25 +0000 Subject: [PATCH] Add redhatfips-10-x86_64 platform defaults The package list is the redhatfips-9 one plus systemtap-sdt-dtrace, which holds the dtrace script on EL 10. Builds run in almalinux:10. Signed-off-by: nmburgan <13688219+nmburgan@users.noreply.github.com> --- .../platform/defaults/redhatfips-10-x86_64.rb | 32 +++++++++++++++++++ 1 file changed, 32 insertions(+) create mode 100644 lib/vanagon/platform/defaults/redhatfips-10-x86_64.rb diff --git a/lib/vanagon/platform/defaults/redhatfips-10-x86_64.rb b/lib/vanagon/platform/defaults/redhatfips-10-x86_64.rb new file mode 100644 index 0000000..cd8150d --- /dev/null +++ b/lib/vanagon/platform/defaults/redhatfips-10-x86_64.rb @@ -0,0 +1,32 @@ +platform "redhatfips-10-x86_64" do |plat| + plat.servicedir "/usr/lib/systemd/system" + plat.defaultdir "/etc/sysconfig" + plat.servicetype "systemd" + + packages = %w( + autoconf + automake + cmake + gcc-c++ + libarchive + libselinux-devel + libsepol-devel + openssl-devel + pkgconfig + readline-devel + rpm-build + rpmdevtools + rsync + swig + systemtap-sdt-devel + systemtap-sdt-dtrace + which + zlib-devel + ) + + plat.provision_with "dnf install -y yum-utils && dnf config-manager --set-enabled crb" + plat.provision_with "dnf install -y --allowerasing #{packages.join(' ')}" + plat.install_build_dependencies_with "dnf install -y --allowerasing " + plat.docker_image "almalinux:10" + plat.docker_arch "linux/amd64" +end