File tree 2 files changed +32
-0
lines changed 2 files changed +32
-0
lines changed Original file line number Diff line number Diff line change
1
+ platform "redhatfips-8-x86_64" do |plat |
2
+ # Uncomment the following line when a vanagon with defaults for this platform is released
3
+ # plat.inherit_from_default
4
+
5
+ # Delete everything below when a vanagon with defaults for this platform is released
6
+ plat . servicedir "/usr/lib/systemd/system"
7
+ plat . defaultdir "/etc/sysconfig"
8
+ plat . servicetype "systemd"
9
+
10
+ packages = %w(
11
+ cmake
12
+ gcc-c++
13
+ java-1.8.0-openjdk-devel
14
+ libarchive
15
+ libsepol-devel
16
+ libselinux-devel
17
+ openssl-devel
18
+ pkgconfig
19
+ readline-devel
20
+ rpm-build
21
+ rpmdevtools
22
+ rsync
23
+ swig
24
+ systemtap-sdt-devel
25
+ yum-utils
26
+ zlib-devel
27
+ )
28
+ plat . provision_with ( "dnf install -y --allowerasing #{ packages . join ( ' ' ) } " )
29
+ plat . install_build_dependencies_with "yum install --assumeyes"
30
+ plat . vmpooler_template "redhat-fips-8-x86_64"
31
+ end
Original file line number Diff line number Diff line change @@ -271,6 +271,7 @@ namespace :vanagon do |args|
271
271
puts "Platform name:" . h ( 3 ) + platform . cyan . code
272
272
ordered_diff = diff . each_with_object ( { } ) do |k , v |
273
273
name , field = k [ 1 ] . match ( /^([a-zA-Z\- ._0-9]+)\| ?(.*)?/ ) . captures
274
+ next if [ '_settings' , '_platform' ] . include? ( name )
274
275
if field . nil? || field . empty?
275
276
case k . first
276
277
when '+'
You can’t perform that action at this time.
0 commit comments