OpenVZ Forum


Home » General » Support » Kernel build help
Kernel build help [message #27279] Wed, 13 February 2008 16:25 Go to previous message
dlzinc
Messages: 34
Registered: March 2006
Member
I'm trying to rebuild the OpenVZ RHEL5 kernel as is (just experimenting) and I have some problems...

~/.rpmmacros
%_topdir /tmp3/ovzkern
%make make
%_smp_mflags -j6

ls /tmp3/ovzkern
BUILD RPMS SOURCES SPECS SRPMS

$ rpm -ivh ovzkernel-2.6.18-53.1.4.el5.028stab053.4.src.rpm
(works fine)
$ cd /tmp3/ovzkern/SPECS
$ rpmbuild -ba kernel-ovz.spec

Then it barfs on an error about missing kernel-2.6.18-x86_64-xen.config.ovz

So I tried

$ rpmbuild -ba kernel-ovz.spec --without xen
and
$ rpmbuild -ba kernel-ovz.spec --without xen --target=x86_64

It finished successfully, but I only end up with an RPM for the kernel headers...

Any ideas?
 
Read Message
Read Message
Read Message
Previous Topic: Iptables
Next Topic: Help with failed LockPages UBC
Goto Forum:
  


Current Time: Wed Nov 06 07:59:19 GMT 2024

Total time taken to generate the page: 0.03396 seconds