Skip to content

Add NVIDIA drivers to live images for 9, 10 and 10-Kitten#103

Closed
alaurie wants to merge 6 commits into
AlmaLinux:mainfrom
alaurie:nvidia
Closed

Add NVIDIA drivers to live images for 9, 10 and 10-Kitten#103
alaurie wants to merge 6 commits into
AlmaLinux:mainfrom
alaurie:nvidia

Conversation

@alaurie

@alaurie alaurie commented Jun 17, 2026

Copy link
Copy Markdown

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.

@alaurie alaurie closed this Jul 3, 2026
@alaurie alaurie deleted the nvidia branch July 3, 2026 05:59
@alaurie alaurie restored the nvidia branch July 3, 2026 06:01
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