OpenVZ Forum


Home » General » Support » Kernel build help
Kernel build help [message #27279] Wed, 13 February 2008 16:25 Go to next 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?
Re: Kernel build help [message #27294 is a reply to message #27279] Thu, 14 February 2008 07:49 Go to previous messageGo to next message
xemul is currently offline  xemul
Messages: 248
Registered: November 2005
Senior Member
Please, fill a BUG about it in bugzilla. We'll fix this and you'll be able to track the process.

Thanks.


http://static.openvz.org/userbars/openvz-developer.png
Re: Kernel build help [message #27318 is a reply to message #27294] Thu, 14 February 2008 14:34 Go to previous message
dlzinc
Messages: 34
Registered: March 2006
Member
Done. http://bugzilla.openvz.org/show_bug.cgi?id=818
Previous Topic: Iptables
Next Topic: Help with failed LockPages UBC
Goto Forum:
  


Current Time: Wed Nov 06 09:41:20 GMT 2024

Total time taken to generate the page: 0.03403 seconds