Skip to content

feat(kmod-nvidia-open): add kmod-nvidia-open-matched sentinel package for automatic kernel upgrade tracking#17920

Open
ellie-di wants to merge 1 commit into
4.0from
edehghani/add-autoupgrade-logic-to-kmod-nvidia-open
Open

feat(kmod-nvidia-open): add kmod-nvidia-open-matched sentinel package for automatic kernel upgrade tracking#17920
ellie-di wants to merge 1 commit into
4.0from
edehghani/add-autoupgrade-logic-to-kmod-nvidia-open

Conversation

@ellie-di

@ellie-di ellie-di commented Jul 6, 2026

Copy link
Copy Markdown
Contributor

Adds auto-upgrade support for kmod-nvidia-open so that when a user has the NVIDIA open kernel module installed, upgrading the kernel automatically pulls in the matching kmod-nvidia-open for the new kernel version.
A new package kmod-nvidia-open-matched is introduced. This is an empty sentinel/meta package (no payload files).
Its purpose is to enable automatic installation of the matching kmod-nvidia-open package for each installed kernel version. When this sentinel is installed, kernel uses a conditional rich dependency:
Requires: ((kmod-nvidia-open-uname-r = %{KVERREL}) if kmod-nvidia-open-matched)
This keeps NVIDIA kernel modules aligned with kernel upgrades on x86_64/aarch64. Removing this sentinel disables future auto-pull behavior, but does not remove already installed versioned kmod-nvidia-open packages.

Copilot AI review requested due to automatic review settings July 6, 2026 18:19
@ellie-di ellie-di requested a review from a team as a code owner July 6, 2026 18:19

Copilot AI left a comment

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.

Pull request overview

Adds a “matched” sentinel RPM and corresponding rich dependencies so that, when kmod-nvidia-open is present, installing/upgrading the kernel will automatically pull in the kmod-nvidia-open build that matches the new kernel’s %{KVERREL} (x86_64/aarch64).

Changes:

  • Introduces kmod-nvidia-open-matched (empty/sentinel) and a kmod-nvidia-open-uname-r = %{KVERREL} virtual provide in the NVIDIA open kmod include.
  • Adds a kernel-side conditional rich dependency to pull kmod-nvidia-open for the installed kernel when the sentinel is installed.
  • Bumps azl_pkgrelease and refreshes the kernel lock fingerprint/rendered outputs.

Reviewed changes

Copilot reviewed 5 out of 6 changed files in this pull request and generated 2 comments.

Show a summary per file
File Description
base/comps/kernel/kmod-nvidia-open.inc Adds kmod-nvidia-open-uname-r provide, requires the new sentinel, and defines the kmod-nvidia-open-matched package.
base/comps/kernel/kernel.comp.toml Bumps azl_pkgrelease and injects the kernel rich dependency via an overlay.
specs/k/kernel/kmod-nvidia-open.inc Rendered copy of the updated NVIDIA open kmod include.
specs/k/kernel/kernel.spec Rendered kernel spec gains the arch-gated rich dependency on kmod-nvidia-open-uname-r when kmod-nvidia-open-matched is installed.
specs/k/kernel/kernel.azl.macros Rendered macro update for azl_pkgrelease.
locks/kernel.lock Updates input-fingerprint to reflect component input changes.

Comment thread base/comps/kernel/kernel.comp.toml Outdated
Comment thread base/comps/kernel/kmod-nvidia-open.inc Outdated
@ellie-di ellie-di force-pushed the edehghani/add-autoupgrade-logic-to-kmod-nvidia-open branch from de3ac53 to 26215a8 Compare July 6, 2026 18:42
Copilot AI review requested due to automatic review settings July 6, 2026 18:47
@ellie-di ellie-di force-pushed the edehghani/add-autoupgrade-logic-to-kmod-nvidia-open branch from 26215a8 to 2e336d5 Compare July 6, 2026 18:47

Copilot AI left a comment

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.

Pull request overview

Copilot reviewed 5 out of 6 changed files in this pull request and generated 4 comments.

Comment thread base/comps/kernel/kmod-nvidia-open.inc Outdated
Comment thread base/comps/kernel/kmod-nvidia-open.inc Outdated
Comment thread specs/k/kernel/kmod-nvidia-open.inc Outdated
Comment thread specs/k/kernel/kmod-nvidia-open.inc Outdated
Copilot AI review requested due to automatic review settings July 6, 2026 20:45

Copilot AI left a comment

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.

Pull request overview

Copilot reviewed 5 out of 6 changed files in this pull request and generated 1 comment.

Comment thread base/comps/kernel/kmod-nvidia-open.inc Outdated
@ellie-di ellie-di force-pushed the edehghani/add-autoupgrade-logic-to-kmod-nvidia-open branch from 5ccd156 to 01bd3a0 Compare July 6, 2026 20:52
Copilot AI review requested due to automatic review settings July 6, 2026 21:14
@ellie-di ellie-di force-pushed the edehghani/add-autoupgrade-logic-to-kmod-nvidia-open branch from 01bd3a0 to 27678a7 Compare July 6, 2026 21:14

Copilot AI left a comment

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.

Pull request overview

Copilot reviewed 5 out of 6 changed files in this pull request and generated 1 comment.

Comment thread base/comps/kernel/kernel.comp.toml
@ellie-di ellie-di changed the title feat(kernel): add kmod-nvidia-open-matched sentinel package for automatic kernel upgrade tracking feat(kmod-nvidia-open): add kmod-nvidia-open-matched sentinel package for automatic kernel upgrade tracking Jul 6, 2026
@ellie-di ellie-di force-pushed the edehghani/add-autoupgrade-logic-to-kmod-nvidia-open branch from 27678a7 to c404f41 Compare July 7, 2026 20:25
Copilot AI review requested due to automatic review settings July 8, 2026 20:48
@ellie-di ellie-di force-pushed the edehghani/add-autoupgrade-logic-to-kmod-nvidia-open branch from c404f41 to 08f34dd Compare July 8, 2026 20:48

Copilot AI left a comment

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.

Pull request overview

Copilot reviewed 5 out of 6 changed files in this pull request and generated 1 comment.

# 'installonlypkg(kernel-module)' token).
Provides: installonlypkg(kernel-module)
Requires: %{name}-core-uname-r = %{KVERREL}
Requires: kmod-nvidia-open-matched = %{version}-%{release}
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.

2 participants