Re: patch to kernel

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Thu, 23 Dec 2004 01:24:02 -0800 (PST), Mick Mearns
<off_by_1@xxxxxxxxx> 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


[Index of Archives]     [Current Fedora Users]     [Fedora Desktop]     [Fedora SELinux]     [Yosemite News]     [Yosemite Photos]     [KDE Users]     [Fedora Tools]     [Fedora Docs]

  Powered by Linux