From: Justin M. Forbes <jforbes(a)fedoraproject.org>
Fix file listing for symvers in uki
MR2408 added the symvers file to the UKI images, but a previous MR
changed compression types to use xz instead of gz, and added a %compext
macro to make sure we get the extension correct. This changes the
symvers file from a hardcoded gz extension which is no longer in use, to
%compext
Signed-off-by: Justin M. Forbes <jforbes(a)fedoraproject.org>
diff --git a/redhat/kernel.spec.template b/redhat/kernel.spec.template
index blahblah..blahblah 100644
--- a/redhat/kernel.spec.template
+++ b/redhat/kernel.spec.template
@@ -3366,7 +3366,7 @@ fi
%if %{with_efiuki}\
%{expand:%%files %{?3:%{3}-}uki-virt}\
%attr(0600, root, root) /lib/modules/%{KVERREL}%{?3:+%{3}}/System.map\
-/lib/modules/%{KVERREL}%{?3:+%{3}}/symvers.gz\
+/lib/modules/%{KVERREL}%{?3:+%{3}}/symvers.%compext\
/lib/modules/%{KVERREL}%{?3:+%{3}}/config\
/lib/modules/%{KVERREL}%{?3:+%{3}}/modules.builtin*\
/lib/modules/%{KVERREL}%{?3:+%{3}}/%{?-k:%{-k*}}%{!?-k:vmlinuz}-virt.efi\
--
https://gitlab.com/cki-project/kernel-ark/-/merge_requests/2485