MulletRobZ Posted December 11, 2002 Share Posted December 11, 2002 Greetings. Although I know that it's recommended to download the full source then compile, but when I tried that earlier by going from 2.4.13 to 2.4.18, it didn't work. Luckily, I was able to get out of the rut. And since now I have kernel 2.4.19, I can directly patch to 2.4.20. Meanwhile, when I type the following command: gzip -cd /home/webgraph/patch-2.4.20.gz | patch -p0 I am prompted to type which files to patch. Am I supposed to just type Enter and skip the process or what? I picked this up from the Kernel readme on the www.kernel.org website. If I'm supposed to type specific files, I would like a listing, please! This could be useful for when I finally exclude Windows from my system. Or whein it comes to the file to patch, do I type the directory which the 2.4.19 kernel is stored? (in my case, /usr/src/linux-2.4.19-16mdk or linux-2.4.19) Any info on this would help greatly. I just like to know so I can do it myself next time. Link to comment Share on other sites More sharing options...
makmak Posted December 12, 2002 Share Posted December 12, 2002 just type enter and they will b patched ahead. The error code said that once patched, u will not be able to revert it. I see that u r using | patch -p0 If i not wrong its mean with revert features... i hv not done patching for a while :p Link to comment Share on other sites More sharing options...
haloscan Posted December 14, 2002 Share Posted December 14, 2002 Since you are using Mandrake, you can just download the 2.4.20 source RPMS from Mandrake's cooker and compile that instead. It worked well for me. Link to comment Share on other sites More sharing options...
MulletRobZ Posted December 14, 2002 Author Share Posted December 14, 2002 I'm not familiar with SRPM's. I've used Tarballs and normal RPM's, but not SRPM's. Maybe you can give me soem tips on this? Link to comment Share on other sites More sharing options...
makmak Posted December 15, 2002 Share Posted December 15, 2002 SRPM? Just rpm --rebuild xxx.xxx.src.rpm Its will compile on the fly and package as a xxx.xxx.rpm on this directory...(RH 7.x only) /usr/src/redhat/RPMS/i386 Then #rpm -Uvh xxx.xxx.rpm And its done. That's what i always do. Link to comment Share on other sites More sharing options...
MulletRobZ Posted December 16, 2002 Author Share Posted December 16, 2002 Well thank you. Meanwhile, could you redirect me to the link, please? Link to comment Share on other sites More sharing options...
MulletRobZ Posted December 26, 2002 Author Share Posted December 26, 2002 One other thing. Is there some way I can have the patching process be redirected to one specific directory instead of having to type it all manually? eg. My kernel directory is /usr/src/linux-2.4.19-16mdk and the default should be /usr/src/linux-2.4.19. Any way to do that? I don't mind the long way, but I'm curious about the shortcuts! :D Link to comment Share on other sites More sharing options...
Recommended Posts