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/kmod] rawhide: weak-modules: handle zstd compressed symvers
Date: Wed, 28 Oct 2026 19:35:41 GMT [thread overview]
Message-ID: <179321614105.1.2270952116585558994.rpms-kmod-63cb7818f5e4@fedoraproject.org> (raw)
A new commit has been pushed.
Repo : rpms/kmod
Branch : rawhide
Commit : 63cb7818f5e4295a0e155072a71474e93ef2ee40
Author : Eric Chanudet <echanude@redhat.com>
Date : 2026-08-12T18:03:50-04:00
Stats : +2/-1 in 1 file(s)
URL : https://src.fedoraproject.org/rpms/kmod/c/63cb7818f5e4295a0e155072a71474e93ef2ee40?branch=rawhide
Log:
weak-modules: handle zstd compressed symvers
Add .zst as a possible extension for the symvers file.
weak-modules support for zstd only handled the initramfs being
compressed with zstd:
9c37c7f5d405 ("weak-modules: add support for zstd compression for initramfs")
Module.symvers is compressed by the kernel specfile depending on the
compression algorithm defined for a given configuration:
https://gitlab.com/redhat/centos-stream/src/kernel/centos-stream-10/-/blob/6738d1f1432cd43f453023d8bf42243b7719a0dc/redhat/kernel.spec.template#L2584
Signed-off-by: Eric Chanudet <echanude@redhat.com>
---
diff --git a/weak-modules b/weak-modules
index 4335bef..df9b02a 100644
--- a/weak-modules
+++ b/weak-modules
@@ -566,7 +566,7 @@ find_symvers_file() {
local krel="$1"
local print="$2"
- find_kernel_file "$krel" symvers "$print" .xz .gz
+ find_kernel_file "$krel" symvers "$print" .xz .gz .zst
}
# find_systemmap_file:
@@ -769,6 +769,7 @@ validate_weak_links() {
case "$symvers_path" in
*.gz) cat_prog="zcat" ;;
*.xz) cat_prog="xzcat" ;;
+ *.zst) cat_prog="zstdcat" ;;
esac
"$cat_prog" "$symvers_path" > $tmpdir/symvers-$krel
fi
reply other threads:[~2026-10-28 19:35 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=179321614105.1.2270952116585558994.rpms-kmod-63cb7818f5e4@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