patch to kernel

Wong Kwok-hon kwokhon at gmail.com
Thu Dec 23 09:32:14 UTC 2004


On Thu, 23 Dec 2004 01:24:02 -0800 (PST), Mick Mearns
<off_by_1 at yahoo.com> wrote:
> 
> > Hi!
> >
> > How to patch ?
> >
> > Ringo
> > 
> Hello Ringo;
>   This is how I do it: (I am sure there are better/faster ways)
> 
> "su -" and enter the password for root.
> "cd /usr/src"
> 
> Download the base kernel:
> http://www.kernel.org/pub/linux/kernel/v2.6/patch-2.6.9.bz2
> 
> Download the latest prepatch:
> http://www.kernel.org/pub/linux/kernel/v2.6/testing/patch-2.6.10-rc3.bz2
> 
> Download the latest snapshot:
> http://www.kernel.org/pub/linux/kernel/v2.6/snapshots/patch-2.6.10-rc3-bk15.bz2
> 
> Uncompress the files: "bunzip2 *.bz2"
> Untar the base: "tar -xvf *.tar"
> 
> Get the .config file from your latest working kernel, or the Redhat
> base: "cp XXXX/.config mick"
> 
> change the directory name to the new kernel:
> "mv linux-2.6.9 2.6.10-rc3-bk15"
> 
> get the patches there:
> "cp pat* 2.6.10-rc3-bk15"
> 
> and the config:
> "cp mick  2.6.10-rc3-bk15/.config"
> 
> cd there:
> "cd 2.6.10-rc3-bk15 "
> 
> FINALLY patch the kernel:
> "cat *rc3 | patch -p1"
> "cat *bk15 | patch -p1"
> 
> Compile it:
> "make"
> "make modules_install"
> "make install"
> 
> and - reboot to the new kernel.
> 
> This is just my tedious, boring, slow way of doing it.
> 

But I download the rpm of src in
http://download.fedora.redhat.com/pub/fedora/linux/core/updates/3/SRPMS/

Is it also need to download the files as u replied ? Or the rpms is
included all patch and base ?

Ringo




More information about the fedora-list mailing list