Compiling RT Patched Kernel and installing "kernel-devel" style package
OS: CentOS 8.1.1911
Kernel: 4.19.103 Patch: patch-4.19.103-rt42 I am trying to install a "kernel-devel" (create the folder Code:
/usr/src/kernels/4.19.103-rt42/ I need to install 3rd party modules which require the "build" and "source" directories after compilation. So after compiling the new kernel, those directories point to the installation directory, which is over 9Gb. In contrast, the "kernel-devel" package for the default kernel directory is only 91Mb. It seems to only contain the Makefiles/Kconfig and some header files. The 3rd party installations work when I keep the installation directory, but I compiled the kernel on an external block device since the on board HD size is <4Gb. They also work when using the default CentOS kernel with kernel-devel installed. Basically, I need to find a way to have the "source" directory of a compiled kernel be less than ~400M Can I just copy the compiled kernel source directory to /usr/src/kernels and then delete all the object files? I'm assuming there must be a simpler way to accomplish this. Thanks a lot! |
make clean should delete all the build components. The kernel source is < 100MB, last I checked.
|
All times are GMT -5. The time now is 11:14 AM. |