After going and reading that post 1 more time It still says the same thing
Quote:
To build an RPM package of your kernel, you need to pass to the make command the argument rpm. Like this:
code:
# make rpm
|
It says nothing about needing to compile first that is why I am asking the question. Just imagine someone who has only been using linux for about 1.5 years and has only compiled about 5 kernels ever. He comes across this post that says you can make a rpm from the kernel source code by doing
make rpm
I know just enough about linux to know nothing is ever that easy but I also read this part too
Quote:
If you pay attention to the top level directory of your kernel sources you will most likely find a file called kernel.spec. These files are used to build RPM packages.
|
Now after looking at this file I noticed all of the commands needed to build a kernel and install it are in that file. Seems kind of odd to me. Why would these commands be there unless they get executed. How do you explain this?
So before I start messing around with the heart (kernel) of the OS it would be nice to have some clarity thats all. So after googling for a while I came across some directions that confirm what you are saying
Quote:
You have to compile your working kernel first to build the rpm.
|
So now the only question left is if I go with what you are telling me should I do the "make modules_install"
make dep
make clean
make bzImage
make modules
????????make modules_install????????
make rpm
Thanks for your Patience and help,
AD
Oh and Merry Christmas and a happy new year