Skip to content

kernel-clk6.18: add ciq-kmod Requires and ship %clk_version macro#1252

Open
josephtate wants to merge 1 commit into
ciq-6.18.yfrom
jtate/clk-kmod-requires-6.18
Open

kernel-clk6.18: add ciq-kmod Requires and ship %clk_version macro#1252
josephtate wants to merge 1 commit into
ciq-6.18.yfrom
jtate/clk-kmod-requires-6.18

Conversation

@josephtate
Copy link
Copy Markdown

Summary

  • Add Requires: ciq-kmod to the kernel-clk6.18 metapackage 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
  • Create /usr/lib/rpm/macros.d/macros.kernel-clk6.18 in kernel-clk6.18-devel containing %clk_version 6.18, so kmod spec files can reference the CLK version without hardcoding it
  • The macros file and %files entry are both guarded to the base (non-variant) devel package only

Test plan

  • Build kernel-clk6.18 and kernel-clk6.18-devel RPMs
  • Verify rpm -qR kernel-clk6.18-*.rpm includes ciq-kmod
  • Verify rpm -ql kernel-clk6.18-devel-*.rpm includes /usr/lib/rpm/macros.d/macros.kernel-clk6.18
  • Verify contents of that file are %clk_version 6.18
  • Verify debug-devel and 64k-devel do NOT own the macros file

🤖 Generated with Claude Code

Require ciq-kmod from the kernel metapackage 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.

Ship /usr/lib/rpm/macros.d/macros.kernel-clk6.18 in kernel-clk6.18-devel
so kmod spec files can use %clk_version to name CLK subpackages without
hardcoding the kernel version string.

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Development

Successfully merging this pull request may close these issues.

1 participant