]> git.ipfire.org Git - thirdparty/kernel/stable.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)
committerSasha Levin <sashal@kernel.org>
Wed, 4 Mar 2026 12:21:30 +0000 (07:21 -0500)
commit39824c8ce0c257154a07d18e49ae6618094a31fa
tree391b5533494ba52423d1602bb4b3502726d581f5
parent0ee1887b524ce14ce1e45031adfe8ee7eda3f072
kernel: rpm-pkg: Restore find-debuginfo.sh approach to -debuginfo package

[ Upstream commit ffe9ac1ad56df8f915896b97bd7645f522c47ce9 ]

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>
Signed-off-by: Sasha Levin <sashal@kernel.org>
scripts/package/kernel.spec
scripts/package/mkspec