From 67bb85790e195dcff4545f2367ab66730db20814 Mon Sep 17 00:00:00 2001 From: Val Packett Date: Tue, 7 Oct 2025 05:49:05 -0300 Subject: [PATCH] kernel.spec.in: fix with_debuginfo missing %files entry Match the vmlinux copy command with a corresponding %files entry to avoid the rpm build error when with_debuginfo is set. --- kernel.spec.in | 3 +++ 1 file changed, 3 insertions(+) diff --git a/kernel.spec.in b/kernel.spec.in index 0fcb1853..f3ad862e 100644 --- a/kernel.spec.in +++ b/kernel.spec.in @@ -673,6 +673,9 @@ exit 0 %if 0%{?fedora} >= 37 %attr(0644, root, root) %vm_install_dir/memory-hotplug-supported %endif +%if %{with_debuginfo} +%{debuginfodir}/lib/modules/%kernelrelease/vmlinux +%endif %changelog @CHANGELOG@