OpenNetworkLinux
OpenNetworkLinux copied to clipboard
How to perform a private patch to kernel
Hi, How to perform a private patch to kernel ?
I find clues of $ONL/packages/base/any/kernels/4.14-lts/patches/ . I added my own patch to this directory and modified $ONL/packages/base/any/kernels/4.14-lts/patches/series, adding the name of the new private patch. After that I rebuild ONL from very begining, while it failed. Am I right ? Can anyone help me with it ?
Thanks.
- You need to put your patch in the path /packages/base/any/kernels/x.xxx-lts/patches/.
- In the packages /base/any/kernels/x.xxx-lts/patches/series file, add your patch name. Pay attention to adding positions. The positions represent the order of patching, and the ones written in front will be typed first.