Re: patch to kernel

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

 



> 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.

Mick


=====
Dogs have Masters - Siamese Cats have Staff!


		
__________________________________ 
Do you Yahoo!? 
Yahoo! Mail - now with 250MB free storage. Learn more.
http://info.mail.yahoo.com/mail_250


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

  Powered by Linux