-
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.
Merge pull request #842 from skyamgarp/PA-5323
(PA-5323) Add RedHat 9 (Power9) platform definition to vanagon
- Loading branch information
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,29 @@ | ||
platform 'el-9-ppc64le' do |plat| | ||
plat.servicedir '/usr/lib/systemd/system' | ||
plat.defaultdir '/etc/sysconfig' | ||
plat.servicetype 'systemd' | ||
|
||
# Workaround for an issue with RedHat subscription metadata, see ITSYS-2543 | ||
plat.provision_with('subscription-manager repos --disable rhel-9-for-ppc64le-baseos-rpms && subscription-manager repos --enable rhel-9-for-ppc64le-baseos-rpms --enable codeready-builder-for-rhel-9-ppc64le-rpms') | ||
|
||
packages = %w( | ||
autoconf | ||
automake | ||
cmake | ||
gcc-c++ | ||
java-1.8.0-openjdk-devel | ||
libarchive | ||
libselinux-devel | ||
make | ||
patch | ||
perl-Getopt-Long | ||
readline-devel | ||
swig | ||
systemtap-sdt-devel | ||
zlib-devel | ||
) | ||
|
||
plat.provision_with("dnf install -y --allowerasing #{packages.join(' ')}") | ||
plat.install_build_dependencies_with 'dnf install -y --allowerasing' | ||
plat.vmpooler_template 'redhat-9-power9' | ||
end |