@Wayne-Workman OK, lets take a hacker approach here (this is more of a concept than an action). Also I’m not going to give you answers only places to look. If I told you to do this, click that you would only be parroting my instructions and not learning.
Also understand my kernel knowledge is about 10 years old. I’m sure almost everything applies still today.
First of all, you will need to load the kernel development tools for your linux platform. There should be an installation package group for kernel development. Go ahead and install that on your test system.
Once that’s installed we need to do a little reverse engineering. First you need to see how Tom builds his kernels. Not knowing Tom (hacker principals), so you can’t ask questions you’ll have to research a bit. The first thing you will want to do is see if you can (precisely) duplicate his work. For that you need to look at a current bzImage file. Run the file
command to find out what linux kernel he used.
Knowing this (assuming he hasn’t messed with the version number because its totally possible) goto kernel.org and download that same linux kernel version. That archive file typically should be expanded to something like /usr/src/kernels.
Now once that kernel has been extracted, you’ll find out you need a config file that sets all of the options to build the kernel. (what you want to do here is to duplicate what Tom does when he builds the kernels). I’m sure if you poke around the fog project github you will find some TomElliott.config files. This should be just a huge text file with a bunch of Y and N settings with a few M scattered about. You will need to copy that to the proper location and probably need to rename it to the proper name. Right now there is no way to know if Tom has patched this official kernel.org kernel, so we have to assume no.
Once you have all of the bits in place, with the kernel dev tools installed all you should have to do is issue a make all
command to build the kernel from the source. With any luck the compiler will compile the kernel without error. If the compiler ends without error, the built kernel should be in… that linux source path somewhere in/below boot. What you want to do is see if the compiled kernel is relatively close in size to what Tom makes. If its close then upload that to your dev FOG server and see if it boots.
Once you have a working build environment then you can start experimenting with that config file removing unwanted drivers and adding in the ones you want to deploy. There is a C code header file that contains the kernel version, you might want to update the minor version with something like -WW or what ever so when someone lists out the kernel version you can tell is a WW special.