From bb3657dec42cb70573389255104ef7a60a04f04f Mon Sep 17 00:00:00 2001 From: Shubham Shinde Date: Thu, 5 Dec 2024 23:25:03 +0530 Subject: [PATCH] (PA-6600) Add Fedora 41 to vanagon defaults --- .../platform/defaults/fedora-41-x86_64.rb | 17 +++++++++++++++++ 1 file changed, 17 insertions(+) create mode 100644 lib/vanagon/platform/defaults/fedora-41-x86_64.rb diff --git a/lib/vanagon/platform/defaults/fedora-41-x86_64.rb b/lib/vanagon/platform/defaults/fedora-41-x86_64.rb new file mode 100644 index 00000000..69b99d04 --- /dev/null +++ b/lib/vanagon/platform/defaults/fedora-41-x86_64.rb @@ -0,0 +1,17 @@ +platform 'fedora-41-x86_64' do |plat| + plat.servicedir '/usr/lib/systemd/system' + plat.defaultdir '/etc/sysconfig' + plat.servicetype 'systemd' + plat.dist 'fc41' + + packages = %w[ + autoconf automake bzip2-devel gcc gcc-c++ libselinux-devel + libsepol libsepol-devel make cmake pkgconfig readline-devel + rpmdevtools rsync swig zlib-devel systemtap-sdt-devel + perl-lib perl-FindBin + ] + plat.provision_with("/usr/bin/dnf install -y --best --allowerasing #{packages.join(' ')}") + + plat.install_build_dependencies_with '/usr/bin/dnf install -y --best --allowerasing' + plat.vmpooler_template 'fedora-41-x86_64' +end