kernel-clk6.12: add ciq-kmod Requires and ship %clk_version macro#1253
Merged
Conversation
There was a problem hiding this comment.
Pull request overview
This PR updates the kernel-clk6.12 RPM spec to ensure the CLK kernel pulls in the patched ciq-kmod package automatically, and to ship a %clk_version RPM macro via the kernel-clk6.12-devel package for downstream kmod specs to reference.
Changes:
- Add
Requires: ciq-kmodto thekernel-clk6.12metapackage. - Install a macros drop-in file that defines
%clk_version %{kernel_major_minor}during the base (non-variant)kernel-develbuild. - Add the macros file to the
%files ... devellist only for the base (non-variant) devel package.
💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.
5355c80 to
3fd25bf
Compare
3fd25bf to
b036514
Compare
b036514 to
b78c55d
Compare
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.
Summary
Requires: ciq-kmodto thekernel-clk6.12metapackage so the patched kmod binary (which handles xz-compressed symvers in CLK 6.x kernels) is pulled in automatically when the CLK kernel is installed/usr/lib/rpm/macros.d/macros.kernel-clk6.12inkernel-clk6.12-develcontaining%clk_version 6.12, so kmod spec files can reference the CLK version without hardcoding it%filesentry are both guarded to the base (non-variant) devel package onlyTest plan
kernel-clk6.12andkernel-clk6.12-develRPMsrpm -qR kernel-clk6.12-*.rpmincludesciq-kmodrpm -ql kernel-clk6.12-devel-*.rpmincludes/usr/lib/rpm/macros.d/macros.kernel-clk6.12%clk_version 6.12🤖 Generated with Claude Code