[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Message-Id: <20260210-kbuild-fix-debuginfo-rpm-v1-0-0730b92b14bc@kernel.org>
Date: Tue, 10 Feb 2026 00:04:47 -0700
From: Nathan Chancellor <nathan@...nel.org>
To: Nathan Chancellor <nathan@...nel.org>, Nicolas Schier <nsc@...nel.org>
Cc: linux-kbuild@...r.kernel.org, linux-kernel@...r.kernel.org,
stable@...r.kernel.org, Steve French <smfrench@...il.com>
Subject: [PATCH 0/2] kbuild: rpm-pkg: Address -debuginfo build regression
with RPM < 4.20.0
Steve reported a build issue with commit 62089b804895 ("kbuild: rpm-pkg:
Generate debuginfo package manually") on RHEL9, which has an older
version of RPM than what I tested. Turns out that RPM 4.20.0 fixed an
issue with specifying %files for a -debuginfo subpackage.
The first patch restricts the new -debuginfo package generation process
to CONFIG_MODULE_SIG=y and RPM >= 4.20.0 to ensure it is actually
necessary and working. The second patch restores the original -debuginfo
package generation process from commit a7c699d090a1 ("kbuild: rpm-pkg:
build a debuginfo RPM") when CONFIG_MODULE_SIG is disabled to keep the
-debuginfo package around for older versions of RPM.
---
Nathan Chancellor (2):
kbuild: rpm-pkg: Restrict manual debug package creation
kernel: rpm-pkg: Restore find-debuginfo.sh approach to -debuginfo package
scripts/package/kernel.spec | 57 +++++++++++++++++++++++++++++++++++++++------
scripts/package/mkspec | 38 +++++++++++++++++++++++++++---
2 files changed, 85 insertions(+), 10 deletions(-)
---
base-commit: 05f7e89ab9731565d8a62e3b5d1ec206485eeb0b
change-id: 20260209-kbuild-fix-debuginfo-rpm-718f81dbcaa6
Best regards,
--
Nathan Chancellor <nathan@...nel.org>
Powered by blists - more mailing lists