Messages in this thread | | | Date | Fri, 27 Nov 1998 13:19:56 +0000 (GMT) | From | Super-User <> | Subject | Re: Some confusion / simple question |
| |
> >I downloaded linux-2.1.130.tar.gz and patch-2.1.130.gz. > >Am I correct in saying that "linux-2.1.130.tar.gz" is the complete source >code for the 2.1.130 kernel? > >If that is so what is the "patch-2.1.130.gz" file for? >
Yup correct, it is the entire source tree. The patch file is for switching from your kernel version to the one the patch indicates e.g. patch-2.1.130 would patch your 2.1.129 kernel to 2.1.130. In order for that to succeed your kernel version must be the immediately previous number from the one the patch will upgrade you to e.g. patch-2.1.126.gz patches 2.1.125 kernel etc etc. The obvious use is that people dont have to download the entire sources, plus it's an easy way to browse for changes for a lunatic such as me :)
>After running gunzip against "patch-2.1.130.gz" I get the file >"patch-2.1.130" . What do I do with this file? And how do I get access to >its content? > you need to place that file in the root directory of your kernel sources, usually in /usr/src. Then what you do is type patch -p0 < patch-2.1.130 , if all goes well your kernel will be patched..then you need to reconfigure and recompile. Obviously since you brought both 2.1.130 sources and patch you dont need to do that :)
Cheers, Yiannis.
P.S. Pardon the SUper-User mail id, i just installed an x86 Solaris 7 box at work and i cant be arsed to create an account at the moment;)
- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.rutgers.edu Please read the FAQ at http://www.tux.org/lkml/
| |