[SRU][F/J/N/O][PATCH] Source files for vmlinux not collected (LP: #2089817)

Juerg Haefliger juerg.haefliger at canonical.com
Thu Nov 28 07:14:10 UTC 2024


https://bugs.launchpad.net/bugs/2089817

[Impact]

There's a bug in how we collect source files after the build: vmlinux is ignored, i.e. its source files are not collected :-(

The following line in the build rules is missing parenheses:
find $(builddir)/build-$* -name vmlinux -o -name \*.ko -exec dwarfdump -i {} \;

Should be
find $(builddir)/build-$* \( -name vmlinux -o -name \*.ko \) -exec dwarfdump -i {} \;

[Test Plan]

Inspect content of 'sources' file in linux-buildinfo package.

[Where Problems Could Occur]

Build failures.




More information about the kernel-team mailing list