|
Retaining kernel-headers for later use after building rpm-pkg's on Open Suse.
Hello,
We needed to compile a custom Kernel provided by a hardware vendor and would like to produce RPM files for this kernel so that we can subsequently deploy them to other host machines quickly.
We have successfully built the kernel using the standard series of commands :-
patch
make menuconfig
make rpm-pkg
mkinitrd
However, once our new kernel is deployed we cannot compile any source code because we not have the kernel header files for this custom kernel.
My colleague was able to produce these by manually building the kernel with 'make bzImage modules' but tells me that 'make rpm-pkg' does produce the header files during the build, but but not retain them.
My question is can 'make rpm-pkg' be told to retain the header files along with the RPM files it creates so that these are available for compiling software on the machines running the custom kernel.
Sorry if this is an obvious question. I have tried searching prior to posting this.
Many Thanks,
Max.
|