feat(akmods): add epel-10 build support to rtl8814au/rtl88xxau kmod - #1355
Draft
HuntedRaven7 wants to merge 3 commits into
Draft
HuntedRaven7 wants to merge 3 commits into
HuntedRaven7 wants to merge 3 commits into
Conversation
…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>
Up to standards ✅🟢 Issues
|
…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
marked this pull request as draft
August 26, 2026 05:45
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.
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} >= 10so the akmods packages build in akmod mode (--akmod, sets buildforkernels) and the noarch common support packages also build on epel-10 (rhel >= 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.