Skip to content

Add RHEL (dnf) support to install-automation-components#64

Open
dougbtv wants to merge 2 commits intomainfrom
doug/rhel-support
Open

Add RHEL (dnf) support to install-automation-components#64
dougbtv wants to merge 2 commits intomainfrom
doug/rhel-support

Conversation

@dougbtv
Copy link
Copy Markdown

@dougbtv dougbtv commented Apr 20, 2026

Summary

  • MI355X bare-metal runners use RHEL with dnf, not Ubuntu (apt-get) or UBI minimal (microdnf)
  • The OS detection in install-automation-components only handled those two, causing all TEST and LM-EVAL jobs on MI355X to fail with "unknown OS"
  • Adds dnf detection and full package installation for bare-metal RHEL (curl, git, jq, wget, gcc, gcc-c++, lld, gh)

Context

This unblocks ROCm 7 MI355X validation (INFERENG-5254). The existing rhel-updates branch had a partial fix (gh CLI only) but didn't install the full package set.

Test plan

  • Verified MI355X runners have dnf available
  • Re-run accept-sync TEST/LM-EVAL jobs on MI355X with v1.25.0-beta tag pointing to this commit

🤖 Generated with Claude Code

dougbtv and others added 2 commits April 20, 2026 16:45
The MI355X bare-metal runners use RHEL (with dnf), not Ubuntu or UBI
minimal. The OS detection only handled apt-get and microdnf, causing
all TEST and LM-EVAL jobs on MI355X to fail with "unknown OS".

Add dnf-based detection and package installation for bare-metal RHEL
environments, matching the package set installed on Ubuntu (curl, git,
jq, wget, gcc, gcc-c++, lld, gh).

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
The MI355X bare-metal runner's GHA user doesn't have passwordless sudo.
Instead of blindly running `sudo dnf install`, check if each required
tool is already available and only install missing ones. On a properly
provisioned runner, this skips the sudo call entirely.

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant