Skip to content

Enabling update alternative/symlink for SLES os profile#3804

Closed
arvindcheru wants to merge 1 commit into
mainfrom
users/acheruva/test_native_linux_packages_mar6
Closed

Enabling update alternative/symlink for SLES os profile#3804
arvindcheru wants to merge 1 commit into
mainfrom
users/acheruva/test_native_linux_packages_mar6

Conversation

@arvindcheru
Copy link
Copy Markdown
Contributor

Motivation

This pull request adds a prerequisite installation step for SLES systems in the install_rpm_packages
The main change ensures that update-alternatives is installed before attempting to install ROCm packages (to support the default rocm install prefix)

Technical Details

SLES-specific installation improvement:

  • Added logic to install update-alternatives using zypper before installing ROCm packages on SLES systems, including error handling and informative logging.

Test Plan

Test Result

https://github.com/arvindcheru/TheRock/actions/runs/22650614180
https://github.com/arvindcheru/TheRock/actions/runs/22650522511

Submission Checklist

@arvindcheru arvindcheru force-pushed the users/acheruva/test_native_linux_packages_mar6 branch from 69214cf to 1ee6f3a Compare March 6, 2026 17:43
print("\nInstalling update-alternatives (SLES prerequisite)...")
try:
result = subprocess.run(
["zypper", "install", "-y", "update-alternatives"],
Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This should be in yml workflow. Not in test script

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks will update this in #3126

@arvindcheru arvindcheru marked this pull request as draft March 7, 2026 06:18
@arvindcheru
Copy link
Copy Markdown
Contributor Author

Changes will be updated in #3126

@arvindcheru arvindcheru closed this Mar 7, 2026
@github-project-automation github-project-automation Bot moved this from TODO to Done in TheRock Triage Mar 7, 2026
@arvindcheru arvindcheru deleted the users/acheruva/test_native_linux_packages_mar6 branch March 7, 2026 06:19
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

Status: Done

Development

Successfully merging this pull request may close these issues.

2 participants