public inbox for git-commits@fedoraproject.org
help / color / mirror / Atom feed
* [rpms/kmod] rawhide: weak-modules: handle zstd compressed symvers
@ 2026-10-28 19:35 Eric Chanudet
0 siblings, 0 replies; only message in thread
From: Eric Chanudet @ 2026-10-28 19:35 UTC (permalink / raw)
To: git-commits
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
^ permalink raw reply related [flat|nested] only message in thread
only message in thread, other threads:[~2026-10-28 19:35 UTC | newest]
Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2026-10-28 19:35 [rpms/kmod] rawhide: weak-modules: handle zstd compressed symvers Eric Chanudet
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox