On Fri, Apr 24, 2015 at 8:25 AM, Dirk Hoffmann <[log in to unmask]> wrote: >> One final note. If you want to download the source code of packages you >> have installed, you can do this: >> >> $ yumdownloader --source kernel >> >> Doing an 'rpm -i' will then unpack the src.rpm into ~/rpmbuild. And >> going into ~/rpmbuild/SPECS/, you can do: >> >> $ rpmbuild -bp kernel.spec >> >> Then you'll get the complete kernel code unpacked and patched, ready to >> be reviewed in ~/rpmbuild/BUILD/kernel-..... Replacing -bp with -bb >> will build the RPMs. But for building, I rather recommend using 'mock'. > > > Thank you very much David, that is exactly what I wanted to do! If you would like to see more detailed instructions on how to build your own kernel, this CentOS wiki article will help: http://wiki.centos.org/HowTos/Custom_Kernel (note that it has not been adjusted for EL7) Or if you decide to build just the driver, look in: http://wiki.centos.org/HowTos/BuildingKernelModules Akemi