Skip to content

(PA-3769) Add RedHat 8 FIPS platform #491

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 2 commits into from
Sep 14, 2021
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
31 changes: 31 additions & 0 deletions configs/platforms/redhatfips-8-x86_64.rb
Original file line number Diff line number Diff line change
@@ -0,0 +1,31 @@
platform "redhatfips-8-x86_64" do |plat|
# Uncomment the following line when a vanagon with defaults for this platform is released
# plat.inherit_from_default

# Delete everything below when a vanagon with defaults for this platform is released
plat.servicedir "/usr/lib/systemd/system"
plat.defaultdir "/etc/sysconfig"
plat.servicetype "systemd"

packages = %w(
cmake
gcc-c++
java-1.8.0-openjdk-devel
libarchive
libsepol-devel
libselinux-devel
openssl-devel
pkgconfig
readline-devel
rpm-build
rpmdevtools
rsync
swig
systemtap-sdt-devel
yum-utils
zlib-devel
)
plat.provision_with("dnf install -y --allowerasing #{packages.join(' ')}")
plat.install_build_dependencies_with "yum install --assumeyes"
plat.vmpooler_template "redhat-fips-8-x86_64"
end
1 change: 1 addition & 0 deletions tasks/vanagon_component_diff.rake
Original file line number Diff line number Diff line change
Expand Up @@ -271,6 +271,7 @@ namespace :vanagon do |args|
puts "Platform name:".h(3) + platform.cyan.code
ordered_diff = diff.each_with_object({}) do |k, v|
name, field = k[1].match(/^([a-zA-Z\-._0-9]+)\|?(.*)?/).captures
next if ['_settings', '_platform'].include?(name)
if field.nil? || field.empty?
case k.first
when '+'
Expand Down