LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Kernel (https://www.linuxquestions.org/questions/linux-kernel-70/)
-   -   Problems to apply a custom patch kernel 2.6.18-1.2257.fc5 (https://www.linuxquestions.org/questions/linux-kernel-70/problems-to-apply-a-custom-patch-kernel-2-6-18-1-2257-fc5-517378/)

Ronin_tekorei 01-08-2007 05:40 AM

Problems to apply a custom patch kernel 2.6.18-1.2257.fc5
 
Hello my friends.

I'm have a route patch make by Julian Anastasov. You can find it here http://www.ssi.bg/~ja/#routes

I want to merge it to my current kernel 2.6.18-1.2257.fc5 of fedora core 5.

The "patch" command does not work.

patch -p0 --dry-run /path/to /route/patch

it dont tell me if the patch is good for my kernel and apply it whitout the --dry-run option does not work either

Can any one help me please?

i know little about kernel.

Lenard 01-08-2007 07:15 AM

Applying patches meant for a vanilla kernel on a custom patched tweaked Red Hat / Fedora kernel is a bit of a challenge and most likely will not work without effort (like editing the patch file a bit). You do need the kernel source to try anyhow, and it should be available in the 'textbook' location. Hint: read the release notes;

http://fedora.redhat.com/docs/releas...sn-Kernel.html

Solution download the vanilla kernel this patch is designed for and apply it then configure build and install the custom vanilla kernel.

nx5000 01-08-2007 08:08 AM

Download your kernel source you want and try to apply the patch.
If it tells you that it works, try.
If it tells you that there are rejected files (files that patch didn't manage to modify) then you have to do it yourself.
Anyway on this routing field, there shouldn't be a lot of differences between vanilla and distro-kernel. If there are, they should be documented.

Quote:

The "patch" command does not work.
You should tell us the exact message. And take care about the directory names. (just edit the patch, you will see that the maintainer has put his kernel tree in v2.6.19/linux )


All times are GMT -5. The time now is 02:08 PM.