-
Notifications
You must be signed in to change notification settings - Fork 78
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
RE-16102: add platform support for redhatfips-9
RE-16102: add platform support for redhatfips-9
- Loading branch information
Rishi Hegde
committed
Feb 13, 2024
1 parent
9c795e0
commit 2bdcf7a
Showing
2 changed files
with
31 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,30 @@ | ||
platform "redhatfips-9-x86_64" do |plat| | ||
plat.servicedir "/usr/lib/systemd/system" | ||
plat.defaultdir "/etc/sysconfig" | ||
plat.servicetype "systemd" | ||
|
||
packages = %w( | ||
autoconf | ||
automake | ||
cmake | ||
gcc-c++ | ||
java-1.8.0-openjdk-devel | ||
libarchive | ||
libsepol-devel | ||
libselinux-devel | ||
openssl-devel | ||
pkgconfig | ||
readline-devel | ||
rpmdevtools | ||
rpm-build | ||
rsync | ||
swig | ||
systemtap-sdt-devel | ||
yum-utils | ||
zlib-devel | ||
) | ||
|
||
plat.provision_with "dnf install -y --allowerasing #{packages.join(' ')}" | ||
plat.install_build_dependencies_with "dnf install -y --allowerasing " | ||
plat.vmpooler_template "redhat-fips-9-x86_64" | ||
end |