kernel-srpm-macros/kabi.attr
Eric Chanudet 9fc01f0ddf 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/os-build/redhat/kernel.spec.template?ref_type=heads#L489
[2] https://gitlab.com/cki-project/kernel-ark/-/blob/os-build/redhat/kernel.spec.template?ref_type=heads#L2514

Add the zst extension to kabi.attr and kabi.sh pattern and add zstdcat
to kabi.sh catenation tool.

Resolves: RHEL-124727

Signed-off-by: Eric Chanudet <echanude@redhat.com>
2025-11-05 12:00:00 -05:00

3 lines
129 B
Plaintext

%__kabi_provides %{_rpmconfigdir}/kabi.sh
%__kabi_path ^(/boot/symvers-.*|/lib/modules/[1-9].*/symvers)\.(gz|xz|zst)$