Skip to content

Optional per-kver kmod package builds#311

Open
gcymbalski wants to merge 1 commit into
mainfrom
greg/optional-per-kver-builds
Open

Optional per-kver kmod package builds#311
gcymbalski wants to merge 1 commit into
mainfrom
greg/optional-per-kver-builds

Conversation

@gcymbalski
Copy link
Copy Markdown
Contributor

This allows optional-at-build-time per-kver kmod packages by defining per_kver to 1 at build time, which means:

  • Package names use conventions used elsewhere in RHEL to indicate the kernel version built against
  • A virtual package, kmod-scoutfs, preserves the existing name and also makes it simple to install with yum via repository
  • Strict requirements on the kver built against in accordance with conventions
  • Disabling automatic use of weak-modules

If not defining per_kver to 1, legacy behavior is preserved, meaning we can deliver packages for the same scoutfs commit in both styles depending on customer needs.

@gcymbalski gcymbalski force-pushed the greg/optional-per-kver-builds branch from 702ec09 to 67e4971 Compare May 7, 2026 21:20
Allow building the kmod pinned to an exact kver by defining
%{per_kver}=1 at build time:
- Package names use conventions used elsewhere in RHEL to indicate the
  kernel version built against
- A virtual package, kmod-scoutfs, preserves the existing name and also
  makes it simple to install with yum via repository
- Strict requirements on the kver built against in accordance with
  conventions
- Disabling automatic use of weak-modules

If not defining per_kver to 1, legacy behavior is preserved, meaning we
can deliver packages for the same scoutfs commit in both styles
depending on customer needs.

Signed-off-by: Greg Cymbalski <greg.cymbalski@versity.com>
@gcymbalski gcymbalski force-pushed the greg/optional-per-kver-builds branch from 67e4971 to d28b0fd Compare May 7, 2026 21:34
Copy link
Copy Markdown
Contributor

@aversecat aversecat left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

lgtm

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