Skip to content

Commit

Permalink
(vanagon-228) Add fedora38 x86_64
Browse files Browse the repository at this point in the history
  • Loading branch information
amitkarsale committed Jan 22, 2024
1 parent ca35011 commit 609cef7
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 609cef7

Please sign in to comment.