public inbox for stable@vger.kernel.org
 help / color / mirror / Atom feed
* [PATCH 0/2] kbuild: rpm-pkg: Address -debuginfo build regression with RPM < 4.20.0
@ 2026-02-10  7:04 Nathan Chancellor
  2026-02-10  7:04 ` [PATCH 1/2] kbuild: rpm-pkg: Restrict manual debug package creation Nathan Chancellor
                   ` (4 more replies)
  0 siblings, 5 replies; 13+ messages in thread
From: Nathan Chancellor @ 2026-02-10  7:04 UTC (permalink / raw)
  To: Nathan Chancellor, Nicolas Schier
  Cc: linux-kbuild, linux-kernel, stable, Steve French

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@kernel.org>


^ permalink raw reply	[flat|nested] 13+ messages in thread

end of thread, other threads:[~2026-02-18 20:49 UTC | newest]

Thread overview: 13+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2026-02-10  7:04 [PATCH 0/2] kbuild: rpm-pkg: Address -debuginfo build regression with RPM < 4.20.0 Nathan Chancellor
2026-02-10  7:04 ` [PATCH 1/2] kbuild: rpm-pkg: Restrict manual debug package creation Nathan Chancellor
2026-02-10  7:04 ` [PATCH 2/2] kernel: rpm-pkg: Restore find-debuginfo.sh approach to -debuginfo package Nathan Chancellor
2026-02-11 20:33 ` [PATCH 0/2] kbuild: rpm-pkg: Address -debuginfo build regression with RPM < 4.20.0 Nicolas Schier
2026-02-13 14:11 ` Stefano Garzarella
2026-02-13 17:34   ` Steve French
2026-02-13 19:11   ` Nathan Chancellor
2026-02-13 19:41     ` Stefano Garzarella
2026-02-15 21:29       ` Nathan Chancellor
2026-02-16  8:25         ` Stefano Garzarella
2026-02-16 11:42           ` Nathan Chancellor
2026-02-16 14:03             ` Stefano Garzarella
2026-02-18 20:49 ` Nathan Chancellor

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox