Skip to content

Commit

Permalink
Merge pull request #849 from imaqsood/VANAGON-242
Browse files Browse the repository at this point in the history
(VANAGON-242) Add Amazon Linux2 ARM platform definition to vanagon
  • Loading branch information
imaqsood authored Apr 24, 2024
2 parents b5ea0d6 + d6de843 commit c3fb04f
Show file tree
Hide file tree
Showing 2 changed files with 12 additions and 0 deletions.
2 changes: 2 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,8 @@ This changelog adheres to [Keep a CHANGELOG](https://keepachangelog.com).
## [Unreleased]
### Fixed
- Use URI.parse when selecting the docker target
### Added
- (VANAGON-242) Add Amazon Linux2 ARM platform definition to vanagon

## [0.48.0] - 2024-04-16
### Added
Expand Down
10 changes: 10 additions & 0 deletions lib/vanagon/platform/defaults/amazon-7-aarch64.rb
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
platform "amazon-7-aarch64" do |plat|
plat.servicedir "/usr/lib/systemd/system"
plat.defaultdir "/etc/sysconfig"
plat.servicetype "systemd"

packages = %w(autoconf automake createrepo gcc gcc-c++ rsync cmake make rpm-libs rpm-build libarchive)
plat.provision_with("yum install -y --nogpgcheck #{packages.join(' ')}")
plat.install_build_dependencies_with "yum install --assumeyes"
plat.vmpooler_template "amazon-7-arm64"
end

0 comments on commit c3fb04f

Please sign in to comment.