[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: kernel build questions



Ben Edwards wrote:
Maybe I am not building the kernel in the most elegent way. I seem to be using a mixture of EXTRAVERSION and -rev. Not quite sure of the ramifications of these. Douse the .deb file put stuff into /lin/modules? What would you recomend to be the best use of EXTRAVERSION/-rev/accosiated prcedure for a newbe to kernal building.

The EXTRAVERSION is equivalent to the --append-to-version parameter. Changing EXTRAVERSION implies that you changed the source code in some way. If you change EXTRAVERSION, the modules will go into the /lib/modules/2.6.xEXTRAVERSION directory. If you use the -rev parameter, then you can have multiple .debs with different configurations but they will all put the modules into /lib/modules/2.6.x.

For a newbie, I'd recommend using the -rev parameter since you probably won't be changing the source code.

If I use both and 'make-kpkg clean' before eath make-kpkg is this the safest or can I get away with using one of EXTRAVERSION/-rev.

Yes.



Reply to: