[elrepo] How to compile and pack kernel-debuginfo rpm

Phil Perry phil at elrepo.org
Wed Jan 12 03:35:02 EST 2022


On 12/01/2022 06:32, Guanghui Chen wrote:
> Hi, team
> 
> Have any suggestions? Thank you.
> 
> Guanghui Chen <chengh3.20 at gmail.com <mailto:chengh3.20 at gmail.com>> 于 
> 2022年1月11日周二 10:28写道:
> 
>     Hi, team
> 
>     I'm trying to use crash for debugging
>     kernel(kernel-lt-5.4.138-1.el7.elrepo.x86_64).
> 
>     Crash needs kernel-debuginfo packet, but I can't find the RPM
>     package of kernel-debuginfo.
> 
>     So I tried to compile it myself, when I compile kernel with 'make
>     rpm-pkg' command, it doesn't create debuginfo packets.
>     I tried to use 'rpmbuild -bb kernel.spec', which also didn't work.
> 
>     How can I get the kernel-debuginfo RPM package of the matching version?
> 
> 
>     Thanks for any help.
> 
> 

Hi,

Sorry, we do not offer debug/debuginfo packages for elrepo kernels and 
there is no easy way to build them from the SRPM.

Phil


More information about the elrepo mailing list