According to Joaquin: While burning my CPU.
> 
>     I have upgrade kernel 2.0.34 to 2.0.35 with source code. Now I want to
> pach kernel 2.0.35 to 2.0.36.
> 
>     I  was reading README in /usr/src/linux and I have done:
> cd /usr/src
> gzip -cd patchXX.gz | patch -p0
> 
>     and then it asks me "File patch:" and I don't know what to write.
                           ^^^^^^^^^^ This would be "File To Patch"
Something is wrong with your directory structure.

Presuming the command above is used as;

gzip -cd patch-2.0.36.gz | patch -p0

and that you have patch-2.0.36.gz in /usr/src and a full "clean 2.0.35
source" is installed a directory called linux or linux-2.0.35 with a
symbolic link named linux pointing to that directory then the patch 
command "will" work as per above.

Now you possably do not have a directory called linux but named the
directory something like linux-2.0.35, you need to link the two 
directorys togehter with the ln command, in this case;

ln -s linux-2.0.35 linux

Now if you were to do;
ls -al /usr/src/linux you should now see the contents of the
/usr/src/linux-2.0.35 directory, this may sound strange to you but thats
how it should be, now while we are in /usr/src we can now issue the patch
command again as above, under these curcumstancies patch "will" work.

You can of course name the directory holding the 2.0.35 source to linux if
you want, but i can assure you its beter to use the symbolic link method.

Another little tip, use the -s option with patch, otherwise your screen will
scroll so fast it will make you dissy and further more, IF there is a problem
while pacthing (note there should not be) then ONLY error message are
written to the screen.

gzip -cd patch-2.0.36.gz | patch -p0 -s


> 
>     May you help me again?
> 
> Thank you in advanced
> 
> Joaquin del Campo
> [EMAIL PROTECTED]
> [EMAIL PROTECTED]
> Buenos Aires. Argentina.
> 


-- 
Regards Richard.
[EMAIL PROTECTED]

Reply via email to