I had read from another site , the requirements for moving on to 2.4.x from
2.2.x
like upgrading modutils,e2fsprogs ,etc. After I did all that ,
I went to kernel.org , saw a link for  downloading the  " latest stable
version  for the kernel "
(2.4.19) . When I downloaded , it was some 27.16 MB in size and named
patch-2.4.19.gz
Then I did :
# gunzip patch-2.4.19.gz

I got a file named patch-2.4.19 (which happened to be a  strange mix of
text , C code , etc.)

# file patch-2.4.19   , I got "diff  _____ ".

I think this is what most people call "a patch created with the diff
command" . In fact , the
first line of the patch contained
diff -urN linux-2.4.18/COPYING linux-2.4.19/COPYING




Is this file  the patch (as I understand) ?

How do I patch the kernel ?

What I tried :

# cd /usr/src
#cp -rl linux-2.2.19 linux-2.4.19
#cd linux-2.4.19
#cat ~/patch-2.4.19 | patch -p1 -s
Well this generated some errors , and the showed a display asking me which
file to patch.
I typed in <RETURN> and then I got the display that one patch was omited.
They asked me for the next file to patch.
I did Ctrl-C to get out.
and on doing
#ls
COPYING CREDITS.rej README.Debian drivers kernel scripts

COPYING.orig Documentation REPORTING-BUGS fs lib vmlinux

COPYING.rej MAINTAINERS Rules.make include mm

CREDITS Makefile System.map init modules

CREDITS.orig README arch ipc net

#find / -name '*.rej'

/usr/src/linux-2.4.19/Documentation/Changes.rej

/usr/src/linux-2.4.19/Documentation/Configure.help.rej

/usr/src/linux-2.4.19/CREDITS.rej

/usr/src/linux-2.4.19/COPYING.rej



What can I infer from this ?



Please help.

Thanks,
Shyam





Reply via email to