I have a system that needs patching a file in kernel to work properly. The system is running Ubuntu 14.04.The patch patches a file in drivers/hwmon.So after every kernel update I need to download the kernel sources, apply the patch, rebuild the kernel and install it.Essentially, my question is very similar to Automatically apply module patch and compile kernel when updated? , where using DKMS is suggested. There is a link to general DKMS docs provided, but it doesn't cover the situation of patching a module.Could you please show me how to configure DKMS to perform the patching automatically? Thanks!
Using DKMS, to automatically patch and install kernel on update
ubuntu;kernel