Skip to content

Commit

Permalink
Merge pull request #834 from amitkarsale/vanagon-228
Browse files Browse the repository at this point in the history
(vanagon-228) Add fedora38 x86_64
  • Loading branch information
joshcooper authored Jan 24, 2024
2 parents 4aa447c + 609cef7 commit 9c795e0
Show file tree
Hide file tree
Showing 2 changed files with 19 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
- (VANAGON-228) Add Fedora-38 (Intel) platform definition to vanagon

## [0.44.0] - 2023-11-30
### Added
Expand Down
17 changes: 17 additions & 0 deletions lib/vanagon/platform/defaults/fedora-38-x86_64.rb
Original file line number Diff line number Diff line change
@@ -0,0 +1,17 @@
platform 'fedora-38-x86_64' do |plat|
plat.servicedir '/usr/lib/systemd/system'
plat.defaultdir '/etc/sysconfig'
plat.servicetype 'systemd'
plat.dist 'fc38'

packages = %w[
autoconf automake bzip2-devel gcc gcc-c++ libselinux-devel
libsepol libsepol-devel make cmake pkgconfig readline-devel
rpmdevtools rsync swig zlib-devel systemtap-sdt-devel
perl-lib perl-FindBin
]
plat.provision_with("/usr/bin/dnf install -y --best --allowerasing #{packages.join(' ')}")

plat.install_build_dependencies_with '/usr/bin/dnf install -y --best --allowerasing'
plat.vmpooler_template 'fedora-38-x86_64'
end

0 comments on commit 9c795e0

Please sign in to comment.