mbox series

[0/2] kbuild: rpm-pkg: improve debuggability

Message ID 20250210-debuginfo-v1-0-368feb58292a@purestorage.com (mailing list archive)
Headers show
Series kbuild: rpm-pkg: improve debuggability | expand

Message

Uday Shankar Feb. 11, 2025, 1:11 a.m. UTC
This patch set aims to improve debuggability of kernels packaged using
the rpm-pkg target by producing debuginfo and debugsource RPMs that
contain a full set of debugging information for the kernel. The
preexisting kernel-%{KERNELRELEASE} RPM is also shrunk by moving all
debuginfo out of it into the new debuginfo RPM.

The first patch is just a bit of cleanup to keep rpmbuild happy, and the
second patch contains the main work.

This is technically a v2 for the following patch, but since it's been a
while I didn't mark it as such

https://lore.kernel.org/linux-kbuild/20240910014327.1726214-1-ushankar@purestorage.com/

Signed-off-by: Uday Shankar <ushankar@purestorage.com>
---
Uday Shankar (2):
      scripts: make python shebangs specific about desired version
      kbuild: rpm-pkg: build debuginfo and debugsource RPMs

 scripts/package/kernel.spec       | 31 +++++++++++++++++++++++++++++--
 scripts/package/mkspec            |  3 +++
 scripts/show_delta                |  2 +-
 scripts/tracing/draw_functrace.py |  2 +-
 4 files changed, 34 insertions(+), 4 deletions(-)
---
base-commit: a64dcfb451e254085a7daee5fe51bf22959d52d3
change-id: 20250209-debuginfo-cd3d9417af21

Best regards,

Comments

Uday Shankar Feb. 18, 2025, 2:27 a.m. UTC | #1
ping