]> git.ipfire.org Git - thirdparty/kernel/linux.git/commit
kernel: rpm-pkg: Restore find-debuginfo.sh approach to -debuginfo package
authorNathan Chancellor <nathan@kernel.org>
Tue, 10 Feb 2026 07:04:49 +0000 (00:04 -0700)
committerNathan Chancellor <nathan@kernel.org>
Fri, 13 Feb 2026 19:26:08 +0000 (14:26 -0500)
commitffe9ac1ad56df8f915896b97bd7645f522c47ce9
tree5a8f973ef88fdcced079f0ef018b70186d134f6d
parent6d6b8b0e28c468263d7fcb071e5cb284ae343df2
kernel: rpm-pkg: Restore find-debuginfo.sh approach to -debuginfo package

Commit 62089b804895 ("kbuild: rpm-pkg: Generate debuginfo package
manually") effectively reverted commit a7c699d090a1 ("kbuild: rpm-pkg:
build a debuginfo RPM") but the approach it took is not safe for older
RPM releases. Restore commit a7c699d090a1 ("kbuild: rpm-pkg: build a
debuginfo RPM") for the !CONFIG_MODULE_SIG case to allow more
environments and configurations to take advantage of the separate debug
information package process.

Cc: stable@vger.kernel.org
Fixes: 62089b804895 ("kbuild: rpm-pkg: Generate debuginfo package manually")
Tested-by: Stefano Garzarella <sgarzare@redhat.com>
Tested-by: Steve French <stfrench@microsoft.com>
Tested-by: Juergen Gross <jgross@suse.com>
Acked-by: Nicolas Schier <nsc@kernel.org>
Link: https://patch.msgid.link/20260210-kbuild-fix-debuginfo-rpm-v1-2-0730b92b14bc@kernel.org
Signed-off-by: Nathan Chancellor <nathan@kernel.org>
scripts/package/kernel.spec
scripts/package/mkspec