How do I patch a pfsense kernel with a FreeBSD patch ?
-
If I have some functionality that I need in the pfsense kernel (an updated driver, for instance) and there is an existing patch that I made or that someone from the FreeBSD project has made, how do I apply that patch to the pfsense source tree and rebuild the pfsense kernel ?
Thank you.
-
I'm surprised to see no answers here - this must be a common thing, right ?
Isn't it fairly normal to need to patch the kernel that pfsense is running, with a bug fix or feature patch from FreeBSD ?
Anyone ?
-
See here:
http://devwiki.pfsense.org/DevelopersBootStrapAndDevIso
-
I would really suggest you just bring up any sort of kernel patch or driver update you need to have the devs do it. If its needed they are much better suited to address any side effects there might be to maintain a stable setup.
And side effect of that is there was patch or update - the whole community can benefit from it being applied.
-
Ok, I agree with all of that, and if I have a general fix, etc., of course I would do that.
But again, I can find no documentation about compiling my own pfsense kernel, and virtually no discussion of anyone ever doing it - is there indeed no documented process ?
Thanks.
-
I can find no documentation about compiling my own pfsense kernel, and virtually no discussion of anyone ever doing it - is there indeed no documented process ?
GOOGLE for it instead of complain!
github has all pfsense source code as well compile scripts
www.github.com/bsdperimeter
-
Thanks for your help. I was looking at the pfsense pages, wiki, etc., and not at github.