Package Nvidia Open GPU Kernel Modules#16971
Conversation
There was a problem hiding this comment.
Pull request overview
Note
Copilot was unable to run its full agentic suite in this review.
Adds packaging and build integration for NVIDIA’s open GPU kernel modules as kernel subpackages in Azure Linux 4.0, along with documentation of the kmod framework and workflow.
Changes:
- Introduces a phase-gated kmod subpackage framework (
kmod-macros.inc) and akmod-nvidia-openimplementation (kmod-nvidia-open.inc+ modprobe config). - Updates
kernel.comp.tomlto fetch NVIDIA sources and inject spec overlays for kmod build/install/%files/scriptlets. - Adds a packaging strategy document describing the architecture and onboarding steps for new kmods.
Reviewed changes
Copilot reviewed 5 out of 5 changed files in this pull request and generated 12 comments.
Show a summary per file
| File | Description |
|---|---|
| docs/oss-kmod-packaging-strategy.md | Documents the kmod-as-kernel-subpackage design and onboarding workflow. |
| base/comps/kernel/kmod-nvidia-open.inc | Defines the kmod-nvidia-open subpackage using phase-gated %include sections. |
| base/comps/kernel/kmod-nvidia-open-modprobe.conf | Adds modprobe configuration to avoid nouveau conflicts. |
| base/comps/kernel/kmod-macros.inc | Provides a small framework/registry for kmod subpackages included by the kernel spec. |
| base/comps/kernel/kernel.comp.toml | Downloads NVIDIA sources and injects the necessary spec overlays to build/package the kmod. |
0f3665a to
5ab292c
Compare
ddstreetmicrosoft
left a comment
There was a problem hiding this comment.
issue: please rebase this into discrete, logical commits as they should appear in the repo
291ebc1 to
2c47662
Compare
917eb67 to
c9db743
Compare
c7895a5 to
d7a0f3b
Compare
ddstreetmicrosoft
left a comment
There was a problem hiding this comment.
I left some comments and questions, but I don't see anything that is blocking. Any issues can be adjusted later, preferably after we change over to a local spec file (which I think will simplify this)
d7a0f3b to
6b3dcaf
Compare
6b3dcaf to
7df63da
Compare
7df63da to
455e0c5
Compare
Summary
Adds packaging and build integration for NVIDIA’s open GPU kernel modules as kernel subpackages in Azure Linux 4.0, along with documentation of the kmod framework and workflow.
Test Methodology
CT package build Job ID: 7fe37879-b457-4ef8-cfa7-08deaca112e9
Successfully ran nvidia-smi on A100 VM: