OpenVZ Forum


Home » General » Support » custom kernel build
custom kernel build [message #3180] Tue, 16 May 2006 14:35 Go to previous message
dbeery is currently offline  dbeery
Messages: 34
Registered: April 2006
Location: Des Moines, IA
Member

A diff between the following configs returns nothing:

(downloadable individually from the website)
kernel-2.6.8-022stab077-x86_64-smp.config.ovz

(included in the source RPM)
kernel-2.6.8-022stab077-x86_64-smp.config.ovz

Yet somehow when I build the custom kernel as follows the the resulting kernels are different in size than those installed by the published rpm, ovzkernel-smp-2.6.8-022stab077.1.x86_64.rpm.

Why?

Steps used to build:

rpm -ivh ovzkernel-2.6.8-022stab077.1.src.rpm
edit /usr/src/redhat/SPEC/kernel-ovz.spec

replace
%define ksubrelease 1
with
%define ksubrelease 1.custom

and finally

rpmbuild -bb kernel-ovz.spec

The spec files are identical as well.

Any help would be greatly appreciated.

Thanks,
Derrick
 
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Previous Topic: *SOLVED* moving vds on the another drive
Next Topic: Can't mount: No such device [SOLVED]
Goto Forum:
  


Current Time: Sun Sep 08 21:32:41 GMT 2024

Total time taken to generate the page: 0.05237 seconds