Skip to content

Commit

Permalink
Merge pull request #1226 from shubhamshinde360/PA-4605-fixing-packagi…
Browse files Browse the repository at this point in the history
…ng-plat

(PA-4605) Add debian platform condition to handle arm architecture
  • Loading branch information
span786 authored Oct 17, 2023
2 parents 6d988d0 + ca71c46 commit 7303fce
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
1 change: 1 addition & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@ This changelog adheres to [Keep a CHANGELOG](http://keepachangelog.com/).

## [Unreleased]
### Added
- (PA-4605) Add debian platform condition to handle arm architecture
- (PA-4606) Add support for Debian 11 (ARM64) architecture
- (PA-5000) Add support for Red Hat 9 (ARM64) architecture

Expand Down
2 changes: 1 addition & 1 deletion lib/packaging/paths.rb
Original file line number Diff line number Diff line change
Expand Up @@ -365,7 +365,7 @@ def debian_component_from_path(path)

#for ubuntu-20.04-aarch64, debian package architecture is arm64
def package_arch(platform, arch)
if platform == 'ubuntu' && arch == 'aarch64'
if %w[debian ubuntu].include?(platform) && arch == 'aarch64'
return 'arm64'
end
arch
Expand Down

0 comments on commit 7303fce

Please sign in to comment.