Skip to content

feat(akmods): add epel-10 build support to rtl8814au/rtl88xxau kmod - #1355

Draft
HuntedRaven7 wants to merge 3 commits into
ublue-os:mainfrom
HuntedRaven7:main
Draft

HuntedRaven7 wants to merge 3 commits into
ublue-os:mainfrom
HuntedRaven7:main

Conversation

@HuntedRaven7

Copy link
Copy Markdown

Extend the buildforkernels/decommented guards in rtl8814au-kmod.spec, rtl88xxau-kmod.spec, rtl8814au.spec and rtl88xxau.spec from %if 0%{?fedora} to %if 0%{?fedora} || 0%{?rhel} >= 10 so the akmods packages build in akmod mode (--akmod, sets buildforkernels) and the noarch common support packages also build on epel-10 (rhel >= 10).

  • rtl*-kmod.spec: defines buildforkernels akmod + debug_package %{nil} on epel-10, enabling kmodtool --akmod expansion (akmod_install, pkg_kmod_name, kmodtool_check, with_rhel_kabi) under the el10 mock chroot.
  • rtl*.spec (common): extends debug_package %{nil} guard to epel-10.

Aligns with the existing project convention used in staging/flatpak/flatpak.spec, staging/ostree/ostree.spec and staging/gnome-shell-extension-search-light/gnome-shell-extension-search-light.spec. Verified: kmodtool --akmod emits akmod macros on epel-10; rpmspec -P parses cleanly on both fedora and epel-10 for all affected specs.

…nd common specs

Extend the buildforkernels/decommented guards in rtl8814au-kmod.spec,
rtl88xxau-kmod.spec, rtl8814au.spec and rtl88xxau.spec from
`%if 0%{?fedora}` to `%if 0%{?fedora} || 0%{?rhel} >= 10` so the akmods
packages build in akmod mode (--akmod, sets buildforkernels) and the
noarch common support packages also build on epel-10 (rhel >= 10).

- rtl*-kmod.spec: defines buildforkernels akmod + debug_package %{nil} on
  epel-10, enabling kmodtool --akmod expansion (akmod_install, pkg_kmod_name,
  kmodtool_check, with_rhel_kabi) under the el10 mock chroot.
- rtl*.spec (common): extends debug_package %{nil} guard to epel-10.

Aligns with the existing project convention used in
staging/flatpak/flatpak.spec, staging/ostree/ostree.spec and
staging/gnome-shell-extension-search-light/gnome-shell-extension-search-light.spec.
Verified: kmodtool --akmod emits akmod macros on epel-10; rpmspec -P parses
cleanly on both fedora and epel-10 for all affected specs.

Signed-off-by: Edward Groves <EdwardGroves2007@proton.me>
@HuntedRaven7
HuntedRaven7 requested a review from bsherman as a code owner August 25, 2026 04:45
@codacy-production

Copy link
Copy Markdown

Up to standards ✅

🟢 Issues 0 issues

Results:
0 new issues

View in Codacy

NEW Get contextual insights on your PRs based on Codacy's metrics, along with PR and Jira context, without leaving GitHub. Enable AI reviewer
TIP This summary will be updated as you push new changes.

…f, and xone kmod specs

Wrap buildforkernels akmod and debug_package %{nil} directives in the
if 0%{?fedora} || 0%{?rhel} >= 10 conditional across all affected specs,
enabling epel-10 kmod builds while preserving existing Fedora behavior.
@HuntedRaven7
HuntedRaven7 marked this pull request as draft August 26, 2026 05:45
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.

1 participant