Skip to content

Add --releasever=latest to gpu_cmd_all dnf repoquery for AL2023 GPU driver check#700

Merged
TheanLim merged 1 commit into
mainfrom
fixSecCheck
May 14, 2026
Merged

Add --releasever=latest to gpu_cmd_all dnf repoquery for AL2023 GPU driver check#700
TheanLim merged 1 commit into
mainfrom
fixSecCheck

Conversation

@TheanLim
Copy link
Copy Markdown
Contributor

@TheanLim TheanLim commented May 14, 2026

Summary

The gpu_cmd_all check in check-update-security.sh uses dnf repoquery to detect available NVIDIA driver updates. Without --releasever=latest, dnf resolves against an older/default release version and misses available updates.

Implementation details

Add --releasever=latest to gpu_cmd_all check in check-update-security.sh

Testing

Before: No updates seen in file NVIDIA_DRIVER_VERSION - https://github.com/aws/amazon-ecs-ami/pull/697/changes
After: Updates seen in file NVIDIA_DRIVER_VERSION

New tests cover the changes: no

Description for the changelog

housekeeping - add --releasever=latest to gpu_cmd_all dnf repoquery for AL2023 GPU driver check

Licensing

By submitting this pull request, I confirm that my contribution is made under the terms of the Apache 2.0 license.

@TheanLim TheanLim changed the title Add --releasever=latest to gpu_cmd_all check in check-update-security.sh Add --releasever=latest to gpu_cmd_all dnf repoquery for AL2023 GPU driver check May 14, 2026
@TheanLim TheanLim marked this pull request as ready for review May 14, 2026 22:23
@TheanLim TheanLim requested a review from a team as a code owner May 14, 2026 22:23
@TheanLim TheanLim merged commit f7e783a into main May 14, 2026
13 checks passed
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.

3 participants