LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Newbie (https://www.linuxquestions.org/questions/linux-newbie-8/)
-   -   Kernel Patching (https://www.linuxquestions.org/questions/linux-newbie-8/kernel-patching-50322/)

heathpitts 03-17-2003 02:59 PM

Kernel Patching
 
I am trying to patch my linux kernel using the HFS patch so I can read my Mac formatted iPod on it. My problem is that I get this readout when I use the exact instructions I have been given.

What should I do to patch the kernel and then update to 2.4.20 from 2.4.18-14


[root@heath linux]# patch -p1 < hfsplus-patch-20020606
can't find file to patch at input line 4
Perhaps you used the wrong -p or --strip option?
The text leading up to this was:
--------------------------
|diff -urN -x CVS linux-bkppc/Documentation/Configure.help linux/Documentation/Configure.help
|--- linux-bkppc/Documentation/Configure.help Tue May 7 03:51:18 2002
|+++ linux/Documentation/Configure.help Tue May 7 20:01:27 2002
--------------------------
File to patch:

I think I just don;t get it on recompiling the kernel and adding patches.

doublefailure 03-17-2003 06:21 PM

if the patch is for 2.4.20 , u would want to
get 2.4.20 kernel extract it under /usr/src
and patch the 2.4.20 kernel

hope that answers your question

heathpitts 03-18-2003 01:04 PM

I think I understand a little better what I am trying to do now but I have little time at work today so I will reply later with my results.


All times are GMT -5. The time now is 03:42 PM.