Skip to contentSkip to conversation

about upgrading the kernel.

DISCUSSION Halil Demirezen 3 participants 4 messages Apr 27, 2003 – Apr 28, 2003

lore
Share & tools
lore
#1 lore raw
Quoted 4 lines · Halil Demirezen

Hi folks,

I want to know, as the new patches and upgrades are published for the kernel, do i have to re-compile the whole kernel after i pached it? or is there any easy way of doing it so?

It depends on the patch and what compile options you have set. If ONLY module code is patched, you MIGHT get away with just recompiling the modules. But knowing that much about the patches themselves is not trivial, so the usual procedure is to do a complete kernel recompile.

As to "any easy way" ... what do you find difficult about doing a kernel compile? On my machines, it takes a lot of machine time, but only small bit of my time (after I do the first one, that is, which involves going through the config file, in my case with "make menuconfig", to select the options I want).

-
To unsubscribe from this list: send the line "unsubscribe linux-newbie" in the body of a message to [email protected]
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.linux-learn.org/faqs

#2 lore raw
Quoted 2 lines

As to "any easy way" ... what do you find difficult about doing a kernel compile? On my machines, it takes a lot of machine time, but only small bit

Compiling kernel a few times a day to see the effects of the new upgraded kernel is ok for me. However, doing it 20 times a day is little difficult, isnt it?

never mind. I got the procedure each developer does in doing so.

Thank you.

-
To unsubscribe from this list: send the line "unsubscribe linux-newbie" in the body of a message to [email protected]
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.linux-learn.org/faqs

#3 lore raw
In reply to Halil Demirezen
Quoted 2 lines · Halil Demirezen

I want to know, as the new patches and upgrades are published for the kernel, do i have to re-compile the whole kernel after i pached it? or is there any easy way of doing it so?

Make (if the Makefile is correctly written) is quite clever to resolve any depedencies and compile only the changed sources; as well as sources depend on the changes.

This is done automagically. You just patch the sources and perform a 'make'. OTOH, if you encounter strange bahaviour in the fresh kerenl, a 'make clean; make' won't hurt to try.

Elias

Signature · 9 lines
University of Athens			I bet the human brain 
Physics Department				is a kludge --Marvin Minsky 

	
-
To unsubscribe from this list: send the line "unsubscribe linux-newbie" in
the body of a message to [email protected]
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.linux-learn.org/faqs