[SRU][R][PATCH 0/1] Enable BTF generation for out-of-tree module builds when kernel dbgsyms are installed

Jacob Martin jacob.martin at canonical.com
Thu Mar 19 13:43:32 UTC 2026


On 3/17/26 4:43 PM, Bastian Blank wrote:
> On Tue, Mar 17, 2026 at 04:18:48PM -0500, Jacob Martin wrote:
>> The patch "UBUNTU: [Packaging] dbgsym: add vmlinux symlink to headers
>> directory" resolves this issue by including a symlink to the vmlinux at
>> /usr/src/linux-headers-7.0.0-xx-generic/vmlinux in the
>> linux-image-7.0.0-xx-generic-dbgsym package.
> 
> So now the build of external modules will behave differently, depending
> on other packages?
> 
> Maybe you can copy this:
> 
> https://salsa.debian.org/kernel-team/linux/-/blob/debian/latest/debian/rules.real?ref_type=heads#L374
> 
> Bastian
> 

Hi Bastian,

Agreed, yours seems like a preferable solution. Thanks for linking it!

I'll work on a V2 for this.

Jacob



More information about the kernel-team mailing list