LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Kernel (https://www.linuxquestions.org/questions/linux-kernel-70/)
-   -   how to add patch to linux (debian) image (https://www.linuxquestions.org/questions/linux-kernel-70/how-to-add-patch-to-linux-debian-image-754156/)

jmwagle 09-10-2009 08:59 AM

how to add patch to linux (debian) image
 
i hope i am in correct forum...
i would like to learn how to easily patch my kernel.

i am running debian system:
uname -a
2.6.30-1-amd64 #1 SMP Sat Aug 15 21:08:31 UTC 2009 x86_64 GNU/Linux

i got here by installing:

linux-image-2.6.30-1-amd64 - Linux 2.6.30 image on AMD64

and then added my video card to work by getting nvidia modules...

m-a a-i nvidia-kernel-source

and am happy that everything works (pretty well)...

instead of using the kernel source, is there a 'debian way' to add a patch to the system? For example how can I add the 'linux-patch-debianlogo' to the kernel?
thanks for your help.

Mara 09-12-2009 01:38 PM

Patches are applied to sources. It means that the whole changed code needs to be compiled. Nvidia's code is partially compiled already.

So, you need to download kernel source (debian source package with the patches or from kernel.org), apply the patch (usually there is an instruction) and compile the kernel/modified modules.


All times are GMT -5. The time now is 01:07 PM.