Add NVIDIA drivers to live images for 9, 10 and 10-Kitten#103
Closed
alaurie wants to merge 6 commits into
Closed
Conversation
…nux 9, 10, and 10-kitten (x86_64, aarch64)
…nning livemedia-creator
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.
Added 12 new kickstart configurations to support both GNOME and KDE desktops for AlmaLinux 9, 10, and 10-kitten
(available for x86_64 and aarch64 architectures):
• AlmaLinux 9: GNOME/KDE ( x86_64 , aarch64 )
• AlmaLinux 10: GNOME/KDE ( x86_64 , aarch64 )
• AlmaLinux 10-Kitten: GNOME/KDE ( x86_64 , aarch64 )
Key details inside the kickstarts:
• Added the almalinux-nvidia repository pointing to the AlmaLinux CUDA repo.
• Modified the %post script to install the driver packages ( nvidia-open , libva-nvidia-driver , and
almalinux-release-nvidia-driver where applicable) inside the chroot environment.
• Configured dynamic initramfs regeneration inside %post to bundle the NVIDIA kernel modules on the Live Media.
──────
🛠 Modifications & Enhancements
1. Build Script ( build-livemedia.sh )
• Added a new --with-nvidia option.
• Restricts NVIDIA driver installation only to supported versions (AlmaLinux 9+) and architectures (excludes
x86_64_v2 ).
• Dynamically adjusts output paths, ISO names, and volume labels when --with-nvidia is enabled (adding -NVIDIA
suffixes).
• Quality-of-life improvement: Automatically removes the previous build results directory if it already exists
(previously, livemedia-creator would fail if the output directory wasn't manually deleted beforehand).
2. GitHub Actions workflows
• .github/actions/shared-steps/action.yml : Added the new with_nvidia input parameter, updated output
directory paths, and passed the --with-nvidia flag to the build script.
• .github/workflows/build-media.yml : Added a with_nvidia boolean workflow input and conditionally skipped
x86_64_v2 architecture builds since NVIDIA drivers are not supported on it.
3. Documentation & Repository Configurations
• README.md : Updated documentation to detail NVIDIA GPU driver build support, explain the --with-nvidia flag,
and list necessary local dependencies (such as enabling the filelists metadata option in DNF config).
• .gitignore : Added rule to exclude local /results directories from being tracked.
──────
🧪 Testing Verification
• Built live media locally (Alma 10 amd64).
• Booted generated amd64 Alma 10 KDE and Gnome ISO and confirmed Nvidia driver present and working.
• Confirmed that output files are correctly structured with the -NVIDIA suffix.
• Verified that x86_64_v2 builds are properly excluded when --with-nvidia is set.