5

Automatically apply module patch and compile kernel when updated?

view full story
linux-howto

http://unix.stackexchange.com – I've recently applied a one-line patch to drivers/bluetooth/btusb.c in order to enable compatibility with my Bluetooth device. However, whenever I get a kernel upgrade, the patch will be lost until someone backports it (which isn't likely). Is there a way for me to run a script and patch each new kernel upgrade automatically? Details on how to apply the patch can be found here on Ask Ubuntu. (HowTos)