OpenVZ Forum


Home » General » Support » *SOLVED* Kernel 2.6.20+ ?
Re: Kernel 2.6.20+ ? [message #27451 is a reply to message #27437] Mon, 18 February 2008 08:33 Go to previous messageGo to previous message
kir is currently offline  kir
Messages: 1645
Registered: August 2005
Location: Moscow, Russia
Senior Member

Quote:

BUT - redhat OVZ kernel SRC have mess of thousands of the patches and when I have downloaded it - i can't quickly get any idea in what orderthey should be applied.


First, we provide so-called combined patch on http://openvz.org/download/kernel/rhel5/. This one is generated by applying all the patches from the src.rpm in the correct order, and then diffing the result with vanilla 2.6.18. So you just use that combined patch.

If you want to apply individual patches, that's fine, too. Look at ovzkernel.spec file which is inside src.rpm, locate the %prep section and you will see how the kernel sources are modified. Note that '%patchNNN' commands refer to 'PatchNNN: filename' lines.

It might still be way too complex, so there's a third way -- install rpm binary to your Debian system and run something like

rpm -bp kernel*.src.rpm

This will run that %prep stage for you, ending up with the patched sources at some location.


Kir Kolyshkin
http://static.openvz.org/userbars/openvz-developer.png
 
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Previous Topic: Kernel Root Exploit?
Next Topic: ARP? Short network outages on OpenVZ HOST when starting or stopping OVZ nodes (netw bridging)
Goto Forum:
  


Current Time: Mon Nov 04 21:44:15 GMT 2024

Total time taken to generate the page: 0.03594 seconds