diff --git a/dist/templates/kernel.template.spec b/dist/templates/kernel.template.spec index 7d752e4ebdaf..76e960a6e087 100644 --- a/dist/templates/kernel.template.spec +++ b/dist/templates/kernel.template.spec @@ -1134,6 +1134,7 @@ ln -sf %{debuginfo_dir}/lib/modules/$KernUnameR/vmlinux %{buildroot}/boot/vmlinu rm -rf %{buildroot}%{debuginfo_dir}/usr/src %undefine __debug_install_post +%global __debug_install_post %{nil} ###### Finally, module sign and compress ###### %if %{with_modsign} && %{with_core}