APPLIED: [PATCH][KINETIC] UBUNTU: [Packaging] Fix dkms builds with linker @module.mod files

Andrea Righi andrea.righi at canonical.com
Thu Jul 7 13:33:39 UTC 2022


On Thu, Jul 07, 2022 at 01:57:19PM +0100, Dimitri John Ledkov wrote:
> v5.19 kernel build stopped passing a long list of .o object files to
> the linker. Instead it started to emit linker .o files into .mod
> file. And then pass said .mod file as a single argument to the linker.
> Adjust dkms-build and dkms-build--nvidia-N scripts to account for this
> behaviour. Copy .mod files in addition to .o files. Post-process .mod
> to remove absolute build paths, and covert them to relative object
> paths.
> 
> Signed-off-by: Dimitri John Ledkov <dimitri.ledkov at canonical.com>

Applied to kinetic/linux (and also updated/respun -lrm).

Thanks,
-Andrea



More information about the kernel-team mailing list