Hi,
I'm trying to patch a upstream kernel driver (ath.ko). Doing so should be fairly easy even though it seems a bit clumsy. It requires to install the "linux-sources" package from APT, extract the kernel source file that gets downloaded with it, patch it, compile the module and install the patched module. The issue I have is that the kernel-sources downloaded by the "linux-sources" package seems to be from a completely different kernel version nor it seems to be the "-pve" kind of kernel. I tried searching for the git repository but I only found this repo https://git.proxmox.com/?p=pve-kernel.git;a=summary which seems to be including only the patches applied to the kernel.
Is there any way I can find the real "-pve" kernel sources? Or is there a better way to patch an upstream kernel driver?
Please note: With kernel sources I mean the kernel sources and not the kernel headers. The "linux-headers" package does download the proper "-pve" kernel headers.
I'm trying to patch a upstream kernel driver (ath.ko). Doing so should be fairly easy even though it seems a bit clumsy. It requires to install the "linux-sources" package from APT, extract the kernel source file that gets downloaded with it, patch it, compile the module and install the patched module. The issue I have is that the kernel-sources downloaded by the "linux-sources" package seems to be from a completely different kernel version nor it seems to be the "-pve" kind of kernel. I tried searching for the git repository but I only found this repo https://git.proxmox.com/?p=pve-kernel.git;a=summary which seems to be including only the patches applied to the kernel.
Is there any way I can find the real "-pve" kernel sources? Or is there a better way to patch an upstream kernel driver?
Please note: With kernel sources I mean the kernel sources and not the kernel headers. The "linux-headers" package does download the proper "-pve" kernel headers.