RPM

Comment 2 for bug 633667

Revision history for this message
In , Frank (frank-redhat-bugs) wrote :

Description of problem:

As a matter of policy, "-debuginfo" RPMs are generated out of an rpmbuild tree
belonging to a .src.rpm. The problem is that if multiple sub-packages were
built (such as "kernel", "kernel-smp", etc.), all of the objects for all
variants are included in the single "kernel-debuginfo". So, in order to use a
tool like systemtap or oprofile or kdump on a single installed kernel, one still
has to install several times that amount (hundreds of MB for the kernel) of
useless data for the other variants.

It would make more sense to have a single debuginfo per binary rpm rather than
src rpm. (Sure, the source code may get replicated between different
subpackages, but that's tiny compared to the object files, and could be shared
upon installation.)

Let's please re-examine this policy, or at least justify it better.