Skip to content
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

(PA-5323) Add RedHat 9 (Power9) platform definition to vanagon #842

Merged
merged 1 commit into from
Apr 2, 2024
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
2 changes: 2 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,8 @@ This project adheres to [Semantic Versioning](https://semver.org).
This changelog adheres to [Keep a CHANGELOG](https://keepachangelog.com).

## [Unreleased]
### Added
- (PA-5323) Add RedHat 9 (Power9) platform definition to vanagon

## [0.46.0] - 2024-03-18
### Changed
Expand Down
29 changes: 29 additions & 0 deletions lib/vanagon/platform/defaults/el-9-ppc64le.rb
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
Loading