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: kabi: handle symvers.zst
Date: Tue, 24 Nov 2026 12:36:46 GMT [thread overview]
Message-ID: <179552380693.1.8211047335259431205.rpms-kernel-srpm-macros-f367d58ef266@fedoraproject.org> (raw)
A new commit has been pushed.
Repo : rpms/kernel-srpm-macros
Branch : rawhide
Commit : f367d58ef26655e0b60022f10b69e4ce798548f4
Author : Eric Chanudet <echanude@redhat.com>
Date : 2026-08-10T17:27:44-04:00
Stats : +3/-2 in 2 file(s)
URL : https://src.fedoraproject.org/rpms/kernel-srpm-macros/c/f367d58ef26655e0b60022f10b69e4ce798548f4?branch=rawhide
Log:
kabi: handle symvers.zst
Check for symvers.zst in addition to gz and xz.
The automotive configuration selects zstd as compression alg[1], which
is used for the symvers[2] file as well.
[1] https://gitlab.com/cki-project/kernel-ark/-/blob/c99bd70e088e792bd554a216592b5f847ed0627d/redhat/kernel.spec.template#L534
[2] https://gitlab.com/cki-project/kernel-ark/-/blob/c99bd70e088e792bd554a216592b5f847ed0627d/redhat/kernel.spec.template#L2747
Signed-off-by: Eric Chanudet <echanude@redhat.com>
---
diff --git a/kabi.attr b/kabi.attr
index 5500b17..b8de5ba 100644
--- a/kabi.attr
+++ b/kabi.attr
@@ -1,2 +1,2 @@
%__kabi_provides %{_rpmconfigdir}/kabi.sh
-%__kabi_path ^(/boot/symvers-.*|/lib/modules/[1-9].*/symvers)\.(gz|xz)$
+%__kabi_path ^(/boot/symvers-.*|/lib/modules/[1-9].*/symvers)\.(gz|xz|zst)$
diff --git a/kabi.sh b/kabi.sh
index dd49b8b..122bb7e 100644
--- a/kabi.sh
+++ b/kabi.sh
@@ -7,12 +7,13 @@
IFS=$'\n'
-for symvers in $(grep -E '(/boot/symvers-.*|/lib/modules/[1-9].*/symvers)\.(gz|xz)') "$@";
+for symvers in $(grep -E '(/boot/symvers-.*|/lib/modules/[1-9].*/symvers)\.(gz|xz|zst)') "$@";
do
cat_prog="cat"
case "$symvers" in
*.gz) cat_prog="zcat" ;;
*.xz) cat_prog="xzcat" ;;
+ *.zst) cat_prog="zstdcat" ;;
esac
# We generate dependencies only for symbols exported by vmlinux itself
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=179552380693.1.8211047335259431205.rpms-kernel-srpm-macros-f367d58ef266@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