Skip to content

Commit

Permalink
(PA-5323) Add RedHat 9 (Power9) platform definition to vanagon
Browse files Browse the repository at this point in the history
(PA-5323) Added changelog
  • Loading branch information
skyamgarp committed Apr 1, 2024
1 parent 22f9116 commit 2fe6aaa
Show file tree
Hide file tree
Showing 2 changed files with 31 additions and 0 deletions.
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

0 comments on commit 2fe6aaa

Please sign in to comment.