public inbox for git-commits@fedoraproject.org
help / color / mirror / Atom feed
From: Eric Chanudet <echanude@redhat.com>
To: git-commits@fedoraproject.org
Subject: [rpms/kernel-srpm-macros] rawhide: macros.kmp: update kernel_module_package_moddir
Date: Tue, 24 Nov 2026 12:36:48 GMT [thread overview]
Message-ID: <179552380846.1.9344918547166864178.rpms-kernel-srpm-macros-7103df6b01fb@fedoraproject.org> (raw)
A new commit has been pushed.
Repo : rpms/kernel-srpm-macros
Branch : rawhide
Commit : 7103df6b01fb7561d7bbc3c08fe5b126dffdc358
Author : Eric Chanudet <echanude@redhat.com>
Date : 2026-08-10T17:27:46-04:00
Stats : +1/-1 in 1 file(s)
URL : https://src.fedoraproject.org/rpms/kernel-srpm-macros/c/7103df6b01fb7561d7bbc3c08fe5b126dffdc358?branch=rawhide
Log:
macros.kmp: update kernel_module_package_moddir
Change the default for the kernel_module_package_moddir() macro to match
modern default configuration for kmod, but allow specfiles to override
it.
This should allow unlikely breakages that still require external modules
in extra to be mitigated.
Signed-off-by: Eric Chanudet <echanude@redhat.com>
---
diff --git a/macros.kmp b/macros.kmp
index a431da1..cc0054c 100644
--- a/macros.kmp
+++ b/macros.kmp
@@ -79,7 +79,7 @@ redhat_kmp_has_post_hooks 1
fi \
echo "%%global flavors_to_build ${flavors_to_build:-%%nil}" \
echo "%%global kernel_source() \\\$([ default = \"%%%%{1}\" ] && echo \"/usr/src/kernels//%%%%kverrel\" || %{kmodtool} kernel_source \"%%%%{kverrel}\" \"%%%%{1}\" 2>/dev/null || { ls -Ud \"/usr/src/kernels///%%%%{kverrel}\"[.+]\"%%%%{1}\" | sort -V | tail -n 1; } || echo \"/usr/src/kernels////%%%%kverrel.%%%%1\")" \
- echo "%%global kernel_module_package_moddir() extra" \
+ echo "%%{!?kernel_module_package_moddir:%%global kernel_module_package_moddir() updates}"
if [ ! -z "%{-f*}" ] \
then \
filelist="%{-f*}" \
reply other threads:[~2026-11-24 12:36 UTC|newest]
Thread overview: [no followups] expand[flat|nested] mbox.gz Atom feed
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=179552380846.1.9344918547166864178.rpms-kernel-srpm-macros-7103df6b01fb@fedoraproject.org \
--to=echanude@redhat.com \
--cc=git-commits@fedoraproject.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox