Add Amazon Linux support to installdependencies.sh#4223
Open
igwejk wants to merge 1 commit intoactions:mainfrom
Open
Add Amazon Linux support to installdependencies.sh#4223igwejk wants to merge 1 commit intoactions:mainfrom
igwejk wants to merge 1 commit intoactions:mainfrom
Conversation
igwejk
commented
Feb 4, 2026
- Detect Amazon Linux via /etc/os-release ID check
- Use dnf for Amazon Linux 2023, yum for Amazon Linux 2
- Fall back to /etc/system-release when /etc/redhat-release is missing
Contributor
There was a problem hiding this comment.
Pull request overview
This PR adds support for Amazon Linux distributions to the dependency installation script. Amazon Linux is detected through /etc/os-release ID checks, and the appropriate package manager (dnf for Amazon Linux 2023, yum for Amazon Linux 2) is selected based on the VERSION_ID field.
Changes:
- Added Amazon Linux detection via os-release ID="amzn" check
- Added fallback to /etc/system-release for systems without /etc/redhat-release
- Updated package manager selection to use dnf for Amazon Linux 2023 and yum for Amazon Linux 2
- Detect Amazon Linux via /etc/os-release ID check - Use dnf for Amazon Linux 2023, yum for Amazon Linux 2 - Fall back to /etc/system-release when /etc/redhat-release is missing
5f9e6ba to
339165e
Compare
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.